Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 1625) sorted by relevance

12345678910>>...65

/PHP-8.2/Zend/tests/
H A Dgc_038.phpt9 $x->x = $x;
20 $x->x = $x;
31 $x->x = $x;
42 $x->x = $x;
53 $x->x = $x;
64 $x->x = $x;
75 $x->x = $x;
86 $x->x = $x;
97 $x->x = $x;
108 $x->x = $x;
[all …]
H A Dcompound_assign_failure.phpt40 $x = 1;
55 $x = 1;
70 $x = 1;
85 $x = 1;
100 $x = 1;
115 $x = 1;
130 $x = 1;
145 $x = 1;
160 $x = 1;
175 $x = 1;
[all …]
H A Dclosure_014.phpt20 $x = new C1();
21 var_dump($x());
23 $x();
30 $x();
33 $x = new C2();
35 $e =& $x($a);
41 $x($b);
46 $e =& $x($c);
52 $x($d);
58 $x();
[all …]
H A Dunset_non_array.phpt6 unset($x[0]);
8 $x = null;
9 unset($x[0]);
11 $x = false;
12 unset($x[0]);
14 $x = true;
21 $x = 1;
28 $x = 3.14;
35 $x = "str";
50 unset($x);
[all …]
H A Dobject_handlers.phpt5 function f($x) {
6 return $x;
38 $x = new foo();
60 $z = $x->{1};
62 $x->{2} = 1;
91 $z = $x->{$c};
94 $x->{$c} = 1;
97 $x->{$c}();
100 $z = $x[$c];
103 $x[$c] = 1;
[all …]
H A Dconstants_009.phpt6 namespace foo\x;
8 const x = 2;
10 class x {
11 const x = 1;
15 var_dump(namespace\x,
16 x::x,
17 namespace\x::x);
18 var_dump(defined('foo\x\x'));
H A Dincdec_undef.phpt9 var_dump($x--);
10 unset($x);
11 var_dump($x++);
12 unset($x);
13 var_dump(--$x);
14 unset($x);
15 var_dump(++$x);
18 Undefined variable $x
20 Undefined variable $x
22 Undefined variable $x
[all …]
H A Dbug28444.phpt8 public $x;
12 $this->x = $x;
23 public $x;
27 $this->x = new ObjectOne($x);
43 var_dump($y->x);
44 var_dump($y->x->x);
45 var_dump($y->x->x = 3);
49 var_dump($y->z->x);
51 var_dump($t->x = 5);
57 ["x"]=>
[all …]
H A Dns_040.phpt9 function f1($x=A) {
10 echo $x;
12 function f2($x=\X\A) {
13 echo $x;
15 function f3($x=Y\A) {
16 echo $x;
19 echo $x;
21 function f5($x=B) {
22 echo $x;
25 echo $x[0];
[all …]
/PHP-8.2/ext/ffi/tests/
H A D046.phpt10 var_dump($x->getKind() === $x::TYPE_UINT8);
15 var_dump($x->getKind() === $x::TYPE_ENUM);
16 var_dump($x->getEnumKind() === $x::TYPE_UINT8);
19 var_dump($x->getKind() === $x::TYPE_ARRAY);
25 var_dump($x->getKind() === $x::TYPE_POINTER);
29 var_dump($x->getKind() === $x::TYPE_STRUCT);
32 var_dump($x->getStructFieldOffset("x"));
34 var_dump($x->getStructFieldType("x")->getKind() == $x::TYPE_DOUBLE);
38 var_dump($x->getKind() === $x::TYPE_STRUCT);
41 var_dump($x->getStructFieldOffset("x"));
[all …]
H A D025.phpt10 $x->cdata = 5;
11 var_dump($x);
12 $x->cdata += 2;
13 var_dump($x);
14 echo "$x\n\n";
15 unset($x);
19 var_dump($x);
20 $x->cdata++;
21 var_dump($x);
22 echo "$x\n\n";
[all …]
/PHP-8.2/Zend/
H A Dzend_alloc_sizes.h33 _( 0, 8, 512, 1, x, y) \
34 _( 1, 16, 256, 1, x, y) \
35 _( 2, 24, 170, 1, x, y) \
36 _( 3, 32, 128, 1, x, y) \
37 _( 4, 40, 102, 1, x, y) \
38 _( 5, 48, 85, 1, x, y) \
39 _( 6, 56, 73, 1, x, y) \
40 _( 7, 64, 64, 1, x, y) \
41 _( 8, 80, 51, 1, x, y) \
42 _( 9, 96, 42, 1, x, y) \
[all …]
/PHP-8.2/ext/gd/libgd/
H A Dgdtestft.c6 #define DEG2RAD(x) ((x)*PI/180.) argument
8 #define MAX(x,y) ((x) > (y) ? (x) : (y)) argument
9 #define MIN(x,y) ((x) < (y) ? (x) : (y)) argument
11 #define MAX4(x,y,z,w) \ argument
12 ((MAX((x),(y))) > (MAX((z),(w))) ? (MAX((x),(y))) : (MAX((z),(w))))
14 ((MIN((x),(y))) < (MIN((z),(w))) ? (MIN((x),(y))) : (MIN((z),(w))))
16 #define MAXX(x) MAX4(x[0],x[2],x[4],x[6]) argument
17 #define MINX(x) MIN4(x[0],x[2],x[4],x[6]) argument
18 #define MAXY(x) MAX4(x[1],x[3],x[5],x[7]) argument
19 #define MINY(x) MIN4(x[1],x[3],x[5],x[7]) argument
[all …]
H A Dgd_transform.c5 register int x, y; in gdImageFlipVertical() local
11 for (x = 0; x < im->sx; x++) { in gdImageFlipVertical()
13 p = row_dst[x]; in gdImageFlipVertical()
14 row_dst[x] = im->tpixels[im->sy - 1 - y][x]; in gdImageFlipVertical()
15 row_src[x] = p; in gdImageFlipVertical()
21 for (x = 0; x < im->sx; x++) { in gdImageFlipVertical()
22 p = im->pixels[y][x]; in gdImageFlipVertical()
23 im->pixels[y][x] = im->pixels[im->sy - 1 - y][x]; in gdImageFlipVertical()
34 int x, y; in gdImageFlipHorizontal() local
42 for (x = 0; x < (im->sx >> 1); x++) { in gdImageFlipHorizontal()
[all …]
H A Dgdhelpers.h32 #define gdMutexDeclare(x) MUTEX_T x argument
33 #define gdMutexSetup(x) x = tsrm_mutex_alloc() argument
34 #define gdMutexShutdown(x) tsrm_mutex_free(x) argument
35 #define gdMutexLock(x) tsrm_mutex_lock(x) argument
36 #define gdMutexUnlock(x) tsrm_mutex_unlock(x) argument
38 #define gdMutexDeclare(x) argument
39 #define gdMutexSetup(x) argument
40 #define gdMutexShutdown(x) argument
41 #define gdMutexLock(x) argument
42 #define gdMutexUnlock(x) argument
/PHP-8.2/ext/session/
H A Dphp_session.h61 #define PS_GC_FUNC(x) zend_long ps_gc_##x(PS_GC_ARGS) argument
77 #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \
78 ps_delete_##x, ps_gc_##x, php_session_create_id, \
94 #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \
95 ps_delete_##x, ps_gc_##x, ps_create_sid_##x, \
112 #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \
113 ps_delete_##x, ps_gc_##x, ps_create_sid_##x, \
114 ps_validate_sid_##x, ps_update_timestamp_##x
230 #define PS_SERIALIZER_ENCODE_NAME(x) ps_srlzr_encode_##x argument
231 #define PS_SERIALIZER_DECODE_NAME(x) ps_srlzr_decode_##x argument
[all …]
/PHP-8.2/ext/standard/tests/serialize/
H A Dserialization_objects_004.phpt6 $ref = &$x;
7 var_dump(serialize(array($x, $x)));
9 $x = 1;
10 $ref = &$x;
11 var_dump(serialize(array($x, $x)));
13 $x = "a";
15 var_dump(serialize(array($x, $x)));
17 $x = true;
19 var_dump(serialize(array($x, $x)));
23 var_dump(serialize(array($x, $x)));
[all …]
/PHP-8.2/ext/dba/
H A Dphp_dba.h117 #define DBA_FUNCS(x) \ argument
118 DBA_OPEN_FUNC(x); \
119 DBA_CLOSE_FUNC(x); \
120 DBA_FETCH_FUNC(x); \
121 DBA_UPDATE_FUNC(x); \
122 DBA_DELETE_FUNC(x); \
123 DBA_EXISTS_FUNC(x); \
124 DBA_FIRSTKEY_FUNC(x); \
125 DBA_NEXTKEY_FUNC(x); \
127 DBA_SYNC_FUNC(x); \
[all …]
/PHP-8.2/Zend/tests/assert/
H A Dexpect_015.phpt14 $x = $a ?: $c;
15 $x = $a ?? $b;
18 $y = clone $x;
20 yield from $x;
52 $x = $x->foo();
54 $x = $x->{$a . "_1"}();
137 $x = foo;
138 $x = \foo;
195 $x = $x->foo();
197 $x = $x->{$a . '_1'}();
[all …]
/PHP-8.2/ext/reflection/tests/
H A Dbug42976.phpt8 $x = "x.changed";
12 $x = "x.original";
13 new C($x); // OK
14 var_dump($x);
17 $x = "x.original";
19 var_dump($x);
20 $x = "x.original";
22 var_dump($x);
27 string(9) "x.changed"
30 string(10) "x.original"
[all …]
/PHP-8.2/Zend/tests/type_declarations/
H A Dscalar_weak_reference.phpt8 function to_int(int &$x) {}
13 $x = 1.0;
14 var_dump($x);
15 to_int($x); // because $x is by-reference, the weak type converts it
16 var_dump($x);
17 to_float($x);
18 var_dump($x);
19 to_string($x);
20 var_dump($x);
21 to_bool($x);
[all …]
/PHP-8.2/tests/lang/
H A DpassByReference_009.phpt5 function foo(&$x, &$y) { $x = 1; echo $y ; }
7 $x = 0;
8 foo($x, $x); // prints 1 ..
11 function foo2($x, &$y, $z)
13 echo $x; // 0
18 $x = 0;
20 foo2($x, $x, $x = 1);
21 echo $x; // 2
/PHP-8.2/ext/hash/
H A Dhash_sha3.c47 ret |= x[i]; in load64()
96 for (x = 0; x < 5; ++x) { in permute()
97 C[x] = readLane(x, 0) ^ readLane(x, 1) ^ in permute()
98 readLane(x, 2) ^ readLane(x, 3) ^ readLane(x, 4); in permute()
100 for (x = 0; x < 5; ++x) { in permute()
101 D = C[(x+4)%5] ^ rol64(C[(x+1)%5], 1); in permute()
115 x = y; in permute()
127 for (x = 0; x < 5; ++x) { in permute()
128 temp[x] = readLane(x, y); in permute()
130 for (x = 0; x < 5; ++x) { in permute()
[all …]
/PHP-8.2/ext/standard/tests/math/
H A Dlog.phpt6 for ($x = 0, $count= 0; $x < 200; $x++) {
7 $x2 = (int) exp(log($x));
8 // e ^ log(x) should be close in range to x
9 if (($x2 < ($x + 2)) && ($x2 > ($x - 2))) {
12 print "$x : $x2\n";
19 for ($x = 0, $count= 0; $x < 50; $x++) {
20 $x2 = (int) pow($base, log($x, $base));
21 // base ^ log(x) should be close in range to x
22 if (($x2 < ($x + 2)) && ($x2 > ($x - 2))) {
25 print "base $base: $x : $x2\n";
/PHP-8.2/ext/gd/tests/
H A Dbug65148.phpt51 [x] => 40
57 [x] => 40
63 [x] => 40
69 [x] => 40
75 [x] => 40
81 [x] => 40
87 [x] => 40
93 [x] => 40
99 [x] => 40
105 [x] => 40
[all …]

Completed in 42 milliseconds

12345678910>>...65