/PHP-5.4/ext/zip/lib/ |
H A D | zip_source_filep.c | 135 if (z->fname) { in read_file() 136 if ((z->f=fopen(z->fname, "rb")) == NULL) { in read_file() 144 if (fseeko(z->f, (off_t)z->off, SEEK_SET) < 0) { in read_file() 150 z->remain = z->len; in read_file() 156 n = len > z->remain ? z->remain : len; in read_file() 162 if (fseeko(z->f, (off_t)(z->off + z->len-z->remain), in read_file() 182 if (z->fname) { in read_file() 194 memcpy(data, &z->st, sizeof(z->st)); in read_file() 200 if (z->f) in read_file() 237 if (z->closep && z->f) in read_file() [all …]
|
H A D | zip_source_zip.c | 122 struct read_zip *z; in read_zip() local 133 i = (z->off-n > sizeof(b) ? sizeof(b) : z->off-n); in read_zip() 135 zip_fclose(z->zf); in read_zip() 136 z->zf = NULL; in read_zip() 143 if (z->len != -1) in read_zip() 144 n = len > z->len ? z->len : len; in read_zip() 152 if (z->len != -1) in read_zip() 153 z->len -= i; in read_zip() 163 len = sizeof(z->st); in read_zip() 181 zip_fclose(z->zf); in read_zip() [all …]
|
H A D | zip_source_buffer.c | 88 struct read_data *z; in read_data() local 97 z->buf = z->data; in read_data() 103 n = z->end - z->buf; in read_data() 108 memcpy(buf, z->buf, n); in read_data() 109 z->buf += n; in read_data() 127 st->mtime = z->mtime; in read_data() 128 st->size = z->end - z->data; in read_data() 151 if (z->freep) { in read_data() 152 free((void *)z->data); in read_data() 153 z->data = NULL; in read_data() [all …]
|
/PHP-5.4/ext/zip/examples/ |
H A D | get_set_comments.php | 5 $z = new ZipArchive; variable 6 $z->open('t.zip'); 8 print_r($z); 10 for ($i=0; $i<$z->numFiles; $i++) { 12 print_r($z->getCommentIndex($i)); 20 $z->setCommentIndex(1, 'new comment idx 1'); 21 $z->setCommentName('foobar/', 'new comment foobar/'); 23 $z->setArchiveComment( 'new archive comment'); 25 for ($i=0; $i<$z->numFiles; $i++) { 27 print_r($z->getCommentIndex($i)); [all …]
|
H A D | comment.php | 2 $z = new ZipArchive; variable 3 $z->open('test_with_comment.zip'); 5 $z->setCommentName('foo', 'Too Comment ' . time()); 6 $z->close();
|
/PHP-5.4/ext/imap/tests/ |
H A D | imap_headerinfo_basic.phpt | 34 var_dump($z->subject); 35 var_dump($z->Subject); 37 if ($z->Recent == 'R' || $z->Recent == 'N' || $z->Recent == ' ') { 44 if ($z->Unseen == 'U' || $z->Unseen == ' ') { 51 if ($z->Flagged == 'F' || $z->Flagged == ' ') { 58 if ($z->Answered == 'A' || $z->Answered == ' ') { 65 if ($z->Deleted == 'D' || $z->Deleted == ' ') { 72 if ($z->Draft == 'X' || $z->Draft == ' ') { 79 var_dump($z->Msgno); 80 var_dump($z->Size); [all …]
|
H A D | imap_rfc822_parse_headers_basic.phpt | 34 var_dump($z->subject); 35 var_dump($z->Subject); 37 if ($z->Recent == 'R' || $z->Recent == 'N' || $z->Recent == ' ') { 44 if ($z->Unseen == 'U' || $z->Unseen == ' ') { 51 if ($z->Flagged == 'F' || $z->Flagged == ' ') { 58 if ($z->Answered == 'A' || $z->Answered == ' ') { 65 if ($z->Deleted == 'D' || $z->Deleted == ' ') { 72 if ($z->Draft == 'X' || $z->Draft == ' ') { 79 var_dump($z->Msgno); 80 var_dump($z->Size); [all …]
|
/PHP-5.4/Zend/ |
H A D | zend_gc.h | 63 #define GC_ZVAL_INIT(z) \ argument 78 #define GC_OBJ_INIT(z) \ argument 79 (z)->buffered = NULL 92 zval z; member 182 if (z->type == IS_ARRAY || z->type == IS_OBJECT) { 199 GC_ZVAL_INIT(z); \ 207 GC_ZVAL_INIT(z); \ 214 efree(z); \ 228 efree_rel(z); \ 232 efree(z) [all …]
|
/PHP-5.4/ext/snmp/tests/ |
H A D | snmp_getvalue.phpt | 27 echo gettype($z)."\n"; 28 var_dump($z->type); 29 var_dump($z->value); 34 echo gettype($z)."\n"; 35 var_dump($z->type); 36 var_dump($z->value); 41 echo gettype($z)."\n"; 42 var_dump($z->type); 43 var_dump($z->value); 48 echo gettype($z)."\n"; [all …]
|
H A D | snmp-object.phpt | 47 var_dump(key($z)); 56 var_dump(key($z)); 65 var_dump(key($z)); 75 var_dump(key($z)); 87 array_shift($z); 89 array_shift($z); 91 array_shift($z); 125 var_dump($z); 128 var_dump($z); 140 var_dump($z); [all …]
|
H A D | snmp3.phpt | 39 var_dump(gettype($z)); 40 var_dump(count($z)); 41 var_dump($z); 46 var_dump(count($z)); 47 var_dump($z); 52 var_dump(count($z)); 53 var_dump(key($z)); 59 var_dump(count($z)); 60 var_dump(key($z)); 69 var_dump($z); [all …]
|
H A D | snmp2_set.phpt | 20 var_dump($z); 24 var_dump($z); 28 var_dump($z); 32 var_dump($z); 44 var_dump($z); 47 var_dump($z); 52 var_dump($z); 56 var_dump($z); 62 var_dump($z); 66 var_dump($z); [all …]
|
H A D | snmpset.phpt | 20 var_dump($z); 24 var_dump($z); 28 var_dump($z); 32 var_dump($z); 44 var_dump($z); 47 var_dump($z); 52 var_dump($z); 56 var_dump($z); 62 var_dump($z); 66 var_dump($z); [all …]
|
H A D | snmp2_set-nomib.phpt | 23 $z = snmp2_set($hostname, $communityWrite, '.1.3.6.777.888.999.444.0', 's', 'bbb', $timeout, $retri… 24 var_dump($z); 27 $z = snmp2_set($hostname, $communityWrite, '.1.3.6...777.888.999.444.0', 's', 'bbb', $timeout, $ret… 28 var_dump($z); 36 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries); 37 var_dump($z); 39 $z = snmp2_set($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries); 40 var_dump($z);
|
H A D | snmpset-nomib.phpt | 23 $z = snmpset($hostname, $communityWrite, '.1.3.6.777.888.999.444.0', 's', 'bbb', $timeout, $retries… 24 var_dump($z); 27 $z = snmpset($hostname, $communityWrite, '.1.3...6.777.888.999.444.0', 's', 'bbb', $timeout, $retri… 28 var_dump($z); 37 $z = snmpset($hostname, $communityWrite, $oid1, 's', $newvalue1, $timeout, $retries); 38 var_dump($z); 40 $z = snmpset($hostname, $communityWrite, $oid1, 's', $oldvalue1, $timeout, $retries); 41 var_dump($z);
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | bug40915.phpt | 6 $str = (binary)"a\000z"; 10 var_dump(addcslashes($str, (binary)"\000z")); 11 var_dump(addcslashes( $str, (binary)"z")); 16 string(4) "a\0z" 17 string(3) "az" 18 string(7) "a\000\z" 19 string(4) "a\z"
|
H A D | bug68710.phpt | 16 $z = serialize($m); 17 $z = str_replace("aaa", "123", $z); 18 $z = str_replace("bbb", "123", $z); 19 $y = unserialize($z); 20 $z = serialize($y);
|
/PHP-5.4/ext/standard/tests/serialize/ |
H A D | bug68594.phpt | 15 $z = serialize($m); 16 $z = str_replace("bbb", "aaa", $z); 17 $y = unserialize($z); 18 $z = serialize($y);
|
/PHP-5.4/tests/lang/ |
H A D | execution_order.phpt | 74 $z = $x - ($x++); 76 echo $z; 80 $z = ($x++) - $x; 82 echo $z; 86 $z = $x - (++$x); 88 echo $z; 92 $z = (++$x) - $x; 94 echo $z; 100 $z = $x - ($x=$y); 102 echo $z; [all …]
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | array_rand_variation6.phpt | 73 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 76 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 81 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 83 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 85 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 91 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 93 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 95 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 97 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 99 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" [all …]
|
/PHP-5.4/Zend/tests/ |
H A D | bug28444.phpt | 50 var_dump($y->z = new Object(4)); 51 var_dump($y->z->x); 52 $t = $y->z; 54 var_dump($y->z->x = 6); 70 Overloaded::__set(z,) 75 Overloaded::__get(z) 77 Overloaded::__get(z) 79 Overloaded::__get(z)
|
H A D | indirect_method_call_004.phpt | 8 public $z; 11 $this->z = new stdclass; 14 return $this->z; 18 var_dump(clone (new bar)->z);
|
H A D | object_handlers.phpt | 40 $z = $x->const_get; 48 $z = $x["const_dim_get"]; 58 $z = $x->{1}; 65 $z = $x->{$c."_get"}; 71 $z = $x[$c."_dim_get"]; 82 $z = $x->{$c+3}; 89 $z = $x->{$c}; 98 $z = $x[$c]; 112 $z = $x->{$c}; 119 $z = $x->{f("var_get")}; [all …]
|
/PHP-5.4/ext/date/lib/ |
H A D | unixtime2tm.c | 129 tm->z = 0; in timelib_unixtime2gmt() 140 int z = tm->z; in timelib_update_from_sse() local 148 timelib_unixtime2gmt(tm, tm->sse - (tm->z * 60) + (tm->dst * 3600)); in timelib_update_from_sse() 171 tm->z = z; in timelib_update_from_sse() 183 int z = tm->z; in timelib_unixtime2local() local 186 timelib_unixtime2gmt(tm, ts - (tm->z * 60) + (tm->dst * 3600)); in timelib_unixtime2local() 188 tm->z = z; in timelib_unixtime2local() 200 tm->z = gmt_offset->offset; in timelib_unixtime2local() 224 t->z = utc_offset; in timelib_set_timezone_from_offset() 238 t->z = abbr_info.utc_offset; in timelib_set_timezone_from_abbr() [all …]
|
/PHP-5.4/ext/dom/tests/ |
H A D | bug28817.phpt | 8 class z extends domDocument{ 23 $z=new z(); 24 var_dump($z->p_array); 25 var_dump($z->p_variable);
|