/PHP-7.4/Zend/tests/ |
H A D | gc_038.phpt | 9 $x->x= $x; 18 $x->x= $x; 27 $x->x= $x; 36 $x->x= $x; 45 $x->x= $x; 54 $x->x= $x; 63 $x->x= $x; 72 $x->x= $x; 81 $x->x= $x; 90 $x->x= $x; [all …]
|
H A D | compound_assign_failure.phpt | 40 $x = 1; 50 $x = 1; 60 $x = 1; 70 $x = 1; 80 $x = 1; 90 $x = 1; 100 $x = 1; 110 $x = 1; 120 $x = 1; 130 $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 | 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'));
|
H A D | object_handlers.phpt | 5 function f($x) { 6 return $x; 36 $x = new foo(); 58 $z = $x->{1}; 60 $x->{2} = 1; 89 $z = $x->{$c}; 92 $x->{$c} = 1; 95 $x->{$c}(); 98 $z = $x[$c]; 101 $x[$c] = 1; [all …]
|
H A D | bug28444.phpt | 8 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); 58 ["x"]=> [all …]
|
H A D | ns_040.phpt | 9 function f1($x=A) { 10 echo $x; 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]; 28 echo $x["aaa"]; [all …]
|
/PHP-7.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-7.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-7.4/ext/session/ |
H A D | php_session.h | 58 #define PS_OPEN_FUNC(x) int ps_open_##x(PS_OPEN_ARGS) argument 60 #define PS_READ_FUNC(x) int ps_read_##x(PS_READ_ARGS) argument 63 #define PS_GC_FUNC(x) zend_long ps_gc_##x(PS_GC_ARGS) argument 79 #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \ 80 ps_delete_##x, ps_gc_##x, php_session_create_id, \ 96 #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \ 97 ps_delete_##x, ps_gc_##x, ps_create_sid_##x, \ 114 #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \ 115 ps_delete_##x, ps_gc_##x, ps_create_sid_##x, \ 116 ps_validate_sid_##x, ps_update_timestamp_##x [all …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | sprintf_variation38.phpt | 37 "%Lx", " %x", "%x ", 38 "\t%x", "\n%x", "%4x", 39 "%30x", "%[0-9A-Fa-f]", "%*x" 59 string(2) "0x" 61 string(1) "x" 70 string(1) "x" 76 string(1) "x" 85 string(1) "x" 91 string(1) "x" 100 string(1) "x" [all …]
|
H A D | sprintf_variation37.phpt | 31 "%Lx", " %x", "%x ", 32 "\t%x", "\n%x", "%4x", 33 "%30x", "%[0-9A-Fa-f]", "%*x" 53 string(2) "0x" 55 string(1) "x" 64 string(1) "x" 70 string(1) "x" 79 string(1) "x" 85 string(1) "x" 94 string(1) "x" [all …]
|
H A D | sprintf_variation34.phpt | 43 "%Lx", " %x", "%x ", 44 "\t%x", "\n%x", "%4x", 45 "%30x", "%[0-9A-Fa-f]", "%*x" 65 string(2) "0x" 67 string(1) "x" 76 string(1) "x" 82 string(1) "x" 91 string(1) "x" 97 string(1) "x" 106 string(1) "x" [all …]
|
/PHP-7.4/ext/dba/ |
H A D | php_dba.h | 117 #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-7.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; 52 $x = $x->foo(); 54 $x = $x->{$a . "_1"}(); 68 if (!$x) { 134 $x = foo; 135 $x = \foo; 192 $x = $x->foo(); [all …]
|
/PHP-7.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-7.4/ext/reflection/tests/ |
H A D | bug42976.phpt | 7 function __construct(&$x) { 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" [all …]
|
/PHP-7.4/ext/hash/ |
H A D | hash_sha3.c | 49 ret |= x[i]; in load64() 98 for (x = 0; x < 5; ++x) { in permute() 99 C[x] = readLane(x, 0) ^ readLane(x, 1) ^ in permute() 100 readLane(x, 2) ^ readLane(x, 3) ^ readLane(x, 4); in permute() 102 for (x = 0; x < 5; ++x) { in permute() 103 D = C[(x+4)%5] ^ rol64(C[(x+1)%5], 1); in permute() 117 x = y; in permute() 129 for (x = 0; x < 5; ++x) { in permute() 130 temp[x] = readLane(x, y); in permute() 132 for (x = 0; x < 5; ++x) { in permute() [all …]
|
/PHP-7.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-7.4/ext/standard/tests/serialize/ |
H A D | serialization_objects_004.phpt | 17 $ref = &$x; 18 var_dump(serialize(array($x, $x))); 20 $x = 1; 22 var_dump(serialize(array($x, $x))); 24 $x = "a"; 26 var_dump(serialize(array($x, $x))); 28 $x = true; 30 var_dump(serialize(array($x, $x))); 32 $x = null; 34 var_dump(serialize(array($x, $x))); [all …]
|
/PHP-7.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-7.4/ext/ffi/tests/ |
H A D | 025.phpt | 10 $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-7.4/ext/gd/tests/ |
H A D | bug65148.phpt | 54 [x] => 40 60 [x] => 40 66 [x] => 40 72 [x] => 40 78 [x] => 40 84 [x] => 40 90 [x] => 40 96 [x] => 40 102 [x] => 40 108 [x] => 40 [all …]
|