/php-src/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-src/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-src/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-src/ext/snmp/tests/ |
H A D | snmp_getvalue.phpt | 31 echo gettype($z)."\n"; 32 var_dump($z->type); 33 var_dump($z->value); 38 echo gettype($z)."\n"; 39 var_dump($z->type); 40 var_dump($z->value); 45 echo gettype($z)."\n"; 46 var_dump($z->type); 47 var_dump($z->value); 52 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-src/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-src/Zend/ |
H A D | zend_types.h | 1270 #define Z_REFCOUNT(z) Z_REFCOUNT_P(&(z)) argument 1271 #define Z_SET_REFCOUNT(z, rc) Z_SET_REFCOUNT_P(&(z), rc) argument 1272 #define Z_ADDREF(z) Z_ADDREF_P(&(z)) argument 1273 #define Z_DELREF(z) Z_DELREF_P(&(z)) argument 1287 #define Z_TRY_ADDREF(z) Z_TRY_ADDREF_P(&(z)) argument 1288 #define Z_TRY_DELREF(z) Z_TRY_DELREF_P(&(z)) argument 1464 (z) = Z_REFVAL_P(z); \ 1470 (z) = Z_INDIRECT_P(z); \ 1476 (z) = Z_REFVAL_P(z); \ 1568 #define Z_PROP_FLAG_P(z) Z_EXTRA_P(z) argument [all …]
|
/php-src/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-src/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 ] 60 Parameter #2 [ <optional> string $z = 'abc' ]
|
H A D | ReflectionMethod_getDocComment_property_list.phpt | 17 $z = 'z' 29 $reflection = new ReflectionProperty('\X', 'z'); 30 echo 'X::z', PHP_EOL; 40 X::z
|
/php-src/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-src/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)
|
H A D | bug68412.phpt | 13 global $z; 14 $z->bar(); 17 $z = new C; 19 global $z; 20 $z->foo();
|
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);
|
/php-src/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-src/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-src/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 …]
|
/php-src/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);
|