/PHP-8.2/ext/zip/examples/ |
H A D | get_set_comments.php | 4 $z = new ZipArchive; variable 5 $z->open('t.zip'); 7 print_r($z); 9 for ($i=0; $i<$z->numFiles; $i++) { 11 print_r($z->getCommentIndex($i)); 19 $z->setCommentIndex(1, 'new comment idx 1'); 20 $z->setCommentName('foobar/', 'new comment foobar/'); 22 $z->setArchiveComment( 'new archive comment'); 24 for ($i=0; $i<$z->numFiles; $i++) { 26 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();
|
H A D | addglob.php | 3 $z = new ZipArchive; variable 4 $z->open('a.zip', ZIPARCHIVE::CREATE); 11 $found = $z->addGlob("/home/pierre/cvs/gd/libgd/tests/*.png", 0, $options); 13 $z->close();
|
H A D | addpattern.php | 2 $z = new ZipArchive; variable 3 $z->open('a.zip', ZIPARCHIVE::CREATE); 10 $found = $z->addPattern("/(\.png)$/i", "/home/pierre/cvs/gd/libgd/tests", $options); 12 $z->close();
|
/PHP-8.2/ext/date/tests/ |
H A D | date_time_immutable.phpt | 19 $z = $v; 23 $z = $v; 29 $z = $v; 33 $z = $v; 39 $z = $v; 43 $z = $v; 49 $z = $v; 53 $z = $v; 57 $z = $v; 63 $z = $v; [all …]
|
/PHP-8.2/ext/imap/tests/ |
H A D | imap_headerinfo_basic.phpt | 36 var_dump($z->subject); 37 var_dump($z->Subject); 39 if ($z->Recent == 'R' || $z->Recent == 'N' || $z->Recent == ' ') { 46 if ($z->Unseen == 'U' || $z->Unseen == ' ') { 53 if ($z->Flagged == 'F' || $z->Flagged == ' ') { 60 if ($z->Answered == 'A' || $z->Answered == ' ') { 67 if ($z->Deleted == 'D' || $z->Deleted == ' ') { 74 if ($z->Draft == 'X' || $z->Draft == ' ') { 81 var_dump($z->Msgno); 82 var_dump($z->Size); [all …]
|
H A D | imap_rfc822_parse_headers_basic.phpt | 36 var_dump($z->subject); 37 var_dump($z->Subject); 39 if ($z->Recent == 'R' || $z->Recent == 'N' || $z->Recent == ' ') { 46 if ($z->Unseen == 'U' || $z->Unseen == ' ') { 53 if ($z->Flagged == 'F' || $z->Flagged == ' ') { 60 if ($z->Answered == 'A' || $z->Answered == ' ') { 67 if ($z->Deleted == 'D' || $z->Deleted == ' ') { 74 if ($z->Draft == 'X' || $z->Draft == ' ') { 81 var_dump($z->Msgno); 82 var_dump($z->Size); [all …]
|
H A D | imap_fetchstructure_basic.phpt | 23 $z = imap_fetchstructure($stream_id,1); 30 var_dump(isset($z->$key)); 32 var_dump($z->type); 33 var_dump($z->encoding); 34 var_dump($z->bytes); 35 var_dump($z->lines); 36 var_dump($z->ifparameters); 37 var_dump(is_object($z->parameters[0]));
|
/PHP-8.2/ext/snmp/tests/ |
H A D | snmp_getvalue.phpt | 30 echo gettype($z)."\n"; 31 var_dump($z->type); 32 var_dump($z->value); 37 echo gettype($z)."\n"; 38 var_dump($z->type); 39 var_dump($z->value); 44 echo gettype($z)."\n"; 45 var_dump($z->type); 46 var_dump($z->value); 51 echo gettype($z)."\n"; [all …]
|
H A D | snmp-object.phpt | 49 var_dump(key($z)); 58 var_dump(key($z)); 67 var_dump(key($z)); 77 var_dump(key($z)); 89 array_shift($z); 91 array_shift($z); 93 array_shift($z); 127 var_dump($z); 130 var_dump($z); 142 var_dump($z); [all …]
|
H A D | snmp3.phpt | 41 var_dump(gettype($z)); 42 var_dump(count($z)); 43 var_dump($z); 48 var_dump(count($z)); 49 var_dump($z); 54 var_dump(count($z)); 55 var_dump(key($z)); 61 var_dump(count($z)); 62 var_dump(key($z)); 71 var_dump($z); [all …]
|
H A D | snmp2_set.phpt | 23 var_dump($z); 30 var_dump($z); 34 var_dump($z); 46 var_dump($z); 50 var_dump($z); 55 var_dump($z); 60 var_dump($z); 63 var_dump($z); 69 var_dump($z); 74 var_dump($z); [all …]
|
H A D | snmpset.phpt | 23 var_dump($z); 30 var_dump($z); 34 var_dump($z); 46 var_dump($z); 49 var_dump($z); 54 var_dump($z); 58 var_dump($z); 64 var_dump($z); 68 var_dump($z); 74 var_dump($z); [all …]
|
/PHP-8.2/ext/standard/tests/strings/ |
H A D | bug40915.phpt | 6 $str = "a\000z"; 10 var_dump(addcslashes($str, "\000z")); 11 var_dump(addcslashes($str, "z")); 16 string(4) "a\0z" 17 string(3) "a%0z" 18 string(7) "a\000\z" 19 string(4) "a%0\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-8.2/ext/intl/common/ |
H A D | common_date.cpp | 54 ? ((php_date_obj*)object)->time->z / 60 in timezone_convert_datetimezone() 77 : ((php_timezone_obj*)object)->tzi.z.abbr; in timezone_convert_datetimezone() 130 datetime = Z_PHPDATE_P(z); in intl_datetime_decompose() 137 datetime = Z_PHPDATE_P(z); in intl_datetime_decompose() 177 switch (Z_TYPE_P(z)) { in intl_zval_to_millis() 179 type = is_numeric_string(Z_STRVAL_P(z), Z_STRLEN_P(z), &lv, &rv, 0); in intl_zval_to_millis() 187 Z_STRVAL_P(z)); in intl_zval_to_millis() 194 rv = U_MILLIS_PER_SECOND * (double)Z_LVAL_P(z); in intl_zval_to_millis() 197 rv = U_MILLIS_PER_SECOND * Z_DVAL_P(z); in intl_zval_to_millis() 203 Calendar_object *co = Z_INTL_CALENDAR_P(z); in intl_zval_to_millis() [all …]
|
/PHP-8.2/Zend/ |
H A D | zend_types.h | 1152 #define Z_REFCOUNT(z) Z_REFCOUNT_P(&(z)) argument 1153 #define Z_SET_REFCOUNT(z, rc) Z_SET_REFCOUNT_P(&(z), rc) argument 1154 #define Z_ADDREF(z) Z_ADDREF_P(&(z)) argument 1155 #define Z_DELREF(z) Z_DELREF_P(&(z)) argument 1169 #define Z_TRY_ADDREF(z) Z_TRY_ADDREF_P(&(z)) argument 1170 #define Z_TRY_DELREF(z) Z_TRY_DELREF_P(&(z)) argument 1346 (z) = Z_REFVAL_P(z); \ 1352 (z) = Z_INDIRECT_P(z); \ 1358 (z) = Z_REFVAL_P(z); \ 1448 #define Z_PROP_FLAG_P(z) Z_EXTRA_P(z) argument [all …]
|
/PHP-8.2/tests/lang/operators/ |
H A D | preinc_variationStr.phpt | 9 "z", "az", "zz", "Z", "AZ", "ZZ", "9z", "19z", "99z", 48 --- testing: 'z' --- 60 --- testing: '9z' --- 62 --- testing: '19z' --- 64 --- testing: '99z' ---
|
/PHP-8.2/Zend/tests/constexpr/ |
H A D | new_named_params.phpt | 7 public function __construct(public float $x, public float $y, public float $z) {} 10 static $a = new Vec(x: 0.0, y: 1.0, z: 2.0); 13 static $b = new Vec(z: 0.0, y: 1.0, x: 2.0); 16 static $c = new Vec(0.0, z: 1.0, y: 2.0); 32 ["z"]=> 40 ["z"]=> 48 ["z"]=>
|
/PHP-8.2/ext/reflection/tests/ |
H A D | constructor_promotion.phpt | 7 public $z; 12 string $z = "abc", 22 $z = $rc->getProperty('z'); 23 var_dump($z->isPromoted()); 29 $rp = new ReflectionParameter([Test::class, '__construct'], 'z'); 47 Property [ public $z = NULL ] 59 Parameter #2 [ <optional> string $z = 'abc' ]
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | array_rand_variation6.phpt | 68 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 71 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 76 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 78 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 80 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 86 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 88 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 90 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 92 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" 94 string\([0-9]*\) "[a-z \n \t \0 0-9 ]*" [all …]
|
/PHP-8.2/Zend/tests/ |
H A D | bug28444.phpt | 48 var_dump($y->z = new ObjectOne(4)); 49 var_dump($y->z->x); 50 $t = $y->z; 52 var_dump($y->z->x = 6); 66 Overloaded::__set(z,Object) 71 Overloaded::__get(z) 73 Overloaded::__get(z) 75 Overloaded::__get(z)
|
/PHP-8.2/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-8.2/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-8.2/ext/date/lib/ |
H A D | unixtime2tm.c | 75 tm->z = 0; in timelib_unixtime2gmt() 86 int z = tm->z; in timelib_update_from_sse() local 94 timelib_unixtime2gmt(tm, tm->sse + tm->z + (tm->dst * 3600)); in timelib_update_from_sse() 116 tm->z = z; in timelib_update_from_sse() 128 int z = tm->z; in timelib_unixtime2local() local 131 timelib_unixtime2gmt(tm, ts + tm->z + (tm->dst * 3600)); in timelib_unixtime2local() 134 tm->z = z; in timelib_unixtime2local() 146 tm->z = gmt_offset->offset; in timelib_unixtime2local() 170 t->z = utc_offset; in timelib_set_timezone_from_offset() 184 t->z = abbr_info.utc_offset; in timelib_set_timezone_from_abbr() [all …]
|