Home
last modified time | relevance | path

Searched refs:z (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/php-src/ext/zip/examples/
H A Dget_set_comments.php4 $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 Dcomment.php2 $z = new ZipArchive; variable
3 $z->open('test_with_comment.zip');
5 $z->setCommentName('foo', 'Too Comment ' . time());
6 $z->close();
H A Daddglob.php3 $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 Daddpattern.php2 $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 Ddate_time_immutable.phpt19 $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 Dbug40915.phpt6 $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 Dbug68710.phpt16 $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 Dsnmp_getvalue.phpt31 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 Dsnmp-object.phpt49 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 Dsnmp3.phpt41 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 Dsnmp2_set.phpt23 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 Dsnmpset.phpt23 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 Dcommon_date.cpp54 ? ((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 Dzend_types.h1270 #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 Dnew_named_params.phpt7 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 Dconstructor_promotion.phpt7 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 DReflectionMethod_getDocComment_property_list.phpt17 $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 Darray_rand_variation6.phpt68 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 Dbug28444.phpt48 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 Dbug68412.phpt13 global $z;
14 $z->bar();
17 $z = new C;
19 global $z;
20 $z->foo();
H A Dindirect_method_call_004.phpt8 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 Dbug68594.phpt15 $z = serialize($m);
16 $z = str_replace("bbb", "aaa", $z);
17 $y = unserialize($z);
18 $z = serialize($y);
/php-src/tests/lang/
H A Dexecution_order.phpt74 $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 Dunixtime2tm.c75 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 Dbug28817.phpt8 class z extends domDocument{
23 $z=new z();
24 var_dump($z->p_array);
25 var_dump($z->p_variable);

Completed in 57 milliseconds

12345678910>>...14