/PHP-8.4/Zend/tests/ |
H A D | gc_038.phpt | 9 $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 D | compound_assign_failure.phpt | 40 $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 D | closure_014.phpt | 20 $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 D | unset_non_array.phpt | 6 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 D | object_handlers.phpt | 5 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 D | constants_009.phpt | 6 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'));
|
/PHP-8.4/Zend/ |
H A D | zend_alloc_sizes.h | 33 _( 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.4/ext/ffi/tests/ |
H A D | 046.phpt | 10 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 D | 025.phpt | 12 $x->cdata = 5; 13 var_dump($x); 14 $x->cdata += 2; 15 var_dump($x); 16 echo "$x\n\n"; 17 unset($x); 21 var_dump($x); 22 $x->cdata++; 23 var_dump($x); 24 echo "$x\n\n"; [all …]
|
/PHP-8.4/ext/gd/libgd/ |
H A D | gdtestft.c | 6 #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 D | gd_transform.c | 5 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 D | gdhelpers.h | 32 #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.4/ext/session/ |
H A D | php_session.h | 60 #define PS_GC_FUNC(x) zend_long ps_gc_##x(PS_GC_ARGS) argument 76 #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \ 77 ps_delete_##x, ps_gc_##x, php_session_create_id, \ 93 #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \ 94 ps_delete_##x, ps_gc_##x, ps_create_sid_##x, \ 111 #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \ 112 ps_delete_##x, ps_gc_##x, ps_create_sid_##x, \ 113 ps_validate_sid_##x, ps_update_timestamp_##x 231 #define PS_SERIALIZER_ENCODE_NAME(x) ps_srlzr_encode_##x argument 232 #define PS_SERIALIZER_DECODE_NAME(x) ps_srlzr_decode_##x argument [all …]
|
/PHP-8.4/ext/standard/tests/serialize/ |
H A D | serialization_objects_004.phpt | 6 $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.4/ext/dba/ |
H A D | php_dba.h | 123 #define DBA_FUNCS(x) \ argument 124 DBA_OPEN_FUNC(x); \ 125 DBA_CLOSE_FUNC(x); \ 126 DBA_FETCH_FUNC(x); \ 127 DBA_UPDATE_FUNC(x); \ 128 DBA_DELETE_FUNC(x); \ 129 DBA_EXISTS_FUNC(x); \ 130 DBA_FIRSTKEY_FUNC(x); \ 131 DBA_NEXTKEY_FUNC(x); \ 133 DBA_SYNC_FUNC(x); \ [all …]
|
/PHP-8.4/Zend/tests/assert/ |
H A D | expect_015.phpt | 14 $x = $a ?: $c; 15 $x = $a ?? $b; 18 $y = clone $x; 20 yield from $x; 56 $x = $x->foo(); 58 $x = $x->{$a . "_1"}(); 157 $x = foo; 158 $x = \foo; 217 $x = $x->foo(); 219 $x = $x->{$a . '_1'}(); [all …]
|
/PHP-8.4/ext/reflection/tests/ |
H A D | bug42976.phpt | 8 $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.4/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_void_elements.phpt | 68 <x:area><inner></inner></x:area> 70 <x:base><inner></inner></x:base> 72 <x:br><inner></inner></x:br> 74 <x:col><inner></inner></x:col> 76 <x:embed><inner></inner></x:embed> 78 <x:hr><inner></inner></x:hr> 80 <x:img><inner></inner></x:img> 82 <x:input><inner></inner></x:input> 84 <x:link><inner></inner></x:link> 86 <x:meta><inner></inner></x:meta> [all …]
|
/PHP-8.4/Zend/tests/type_declarations/ |
H A D | scalar_weak_reference.phpt | 8 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.4/tests/lang/ |
H A D | passByReference_009.phpt | 5 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.4/ext/hash/ |
H A D | hash_sha3.c | 47 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.4/ext/standard/tests/math/ |
H A D | log.phpt | 6 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.4/Zend/tests/in-de-crement/ |
H A D | unset_globals_in_error_handler.phpt | 11 $x = null; 13 unset($x); 15 $x = null; 17 unset($x); 20 $x = ""; 22 unset($x); 24 $x = ""; 26 unset($x); 28 $x = ""; 30 unset($x); [all …]
|
H A D | increment_diagnostic_change_type.phpt | 7 global $x; 8 $x = 1; 11 $x = ''; 12 $x++; 13 var_dump($x); 17 global $x; 21 $x = 'foo!'; 22 $x++; 23 var_dump($x); 26 $x = '!'; [all …]
|
/PHP-8.4/ext/gd/tests/ |
H A D | bug65148.phpt | 51 [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 …]
|