/PHP-8.0/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 | 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); 57 ["x"]=> [all …]
|
H A D | ns_040.phpt | 9 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.0/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.0/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
|
H A D | gd_crop.c | 122 for (x = 0; match && x < width; x++) { in gdImageCropAuto() 137 for (x = 0; match && x < width; x++) { in gdImageCropAuto() 144 for (x = 0; match && x < width; x++) { in gdImageCropAuto() 149 crop.x = x - 1; in gdImageCropAuto() 152 for (x = width - 1; match && x >= 0; x--) { in gdImageCropAuto() 157 crop.width = x - crop.x + 2; in gdImageCropAuto() 210 for (x = 0; match && x < width; x++) { in gdImageCropThreshold() 224 for (x = 0; match && x < width; x++) { in gdImageCropThreshold() 231 for (x = 0; match && x < width; x++) { in gdImageCropThreshold() 236 crop.x = x - 1; in gdImageCropThreshold() [all …]
|
/PHP-8.0/ext/session/ |
H A D | php_session.h | 56 #define PS_OPEN_FUNC(x) int ps_open_##x(PS_OPEN_ARGS) argument 58 #define PS_READ_FUNC(x) int ps_read_##x(PS_READ_ARGS) argument 61 #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 [all …]
|
/PHP-8.0/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.0/ext/dba/ |
H A D | php_dba.h | 115 #define DBA_FUNCS(x) \ argument 116 DBA_OPEN_FUNC(x); \ 117 DBA_CLOSE_FUNC(x); \ 118 DBA_FETCH_FUNC(x); \ 119 DBA_UPDATE_FUNC(x); \ 120 DBA_DELETE_FUNC(x); \ 121 DBA_EXISTS_FUNC(x); \ 122 DBA_FIRSTKEY_FUNC(x); \ 123 DBA_NEXTKEY_FUNC(x); \ 125 DBA_SYNC_FUNC(x); \ [all …]
|
/PHP-8.0/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.0/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"}(); 137 $x = foo; 138 $x = \foo; 195 $x = $x->foo(); 197 $x = $x->{$a . '_1'}(); [all …]
|
/PHP-8.0/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 …]
|
H A D | typed_properties_082.phpt | 7 public static int $x = 0; 14 $x =& Test::$x; 16 $x = "foo"; 18 var_dump($x, Test::$x); 20 Test::$x =& Test2::$y; // remove the typed ref from $x 21 $x = "foo"; 22 var_dump($x, Test::$x); 26 Cannot assign string to reference held by property Test::$x of type int
|
/PHP-8.0/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.0/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.0/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.0/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-8.0/ext/gd/tests/ |
H A D | bug65148.phpt | 53 [x] => 40 59 [x] => 40 65 [x] => 40 71 [x] => 40 77 [x] => 40 83 [x] => 40 89 [x] => 40 95 [x] => 40 101 [x] => 40 107 [x] => 40 [all …]
|
H A D | libgd00100.phpt | 28 $x = 100; 30 $x, $top, 31 $x+2*$d, $top, 34 $x, $bot 81 $x = 150; 83 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d); 86 $x = 180; 88 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d); 91 $x = 225; 93 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d); [all …]
|