/php-src/ext/ffi/tests/ |
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-src/Zend/tests/ |
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 …]
|
H A D | result_unused.phpt | 5 $x = array(1); 6 $a = "x"; 9 $x = array(array(2)); 10 $x[0]; 12 $x = "str"; 13 $x[0]; 14 $x[3]; 22 $x = new Foo(); 23 $x->prop; 24 $x->y;
|
H A D | rope_with_exception.phpt | 7 function __get($x) { 13 $x = new Obj; 15 $r = "$y|$x->x|"; 22 $x = new Obj; 24 $r = "$y$x->x|"; 31 $x = new Obj; 33 $r = "$y|$y$x->x"; 43 #0 %s(%d): Obj->__get('x') 47 #0 %s(%d): Obj->__get('x') 51 #0 %s(%d): Obj->__get('x')
|
H A D | nowdoc_015.phpt | 10 $x = <<<EOF 12 var_dump($x); 14 $x = <<<'EOF' 16 var_dump($x); 18 $x = <<<EOF 21 var_dump($x); 23 $x = <<<'EOF' 26 var_dump($x); 28 $x = <<<EOF 36 var_dump($x); [all …]
|
H A D | bug30820.phpt | 9 private static $x; 12 Blah::$x = 1; 13 $this->x = 5; // no warning, but refers to different variable 15 echo 'Blah::$x = '. Blah::$x ."\n"; 16 echo '$this->x = '. $this->x ."\n"; 24 Notice: Accessing static property Blah::$x as non static in %sbug30820.php on line 7 25 Blah::$x = 1 27 Notice: Accessing static property Blah::$x as non static in %sbug30820.php on line 10 28 $this->x = 5
|
/php-src/ext/gd/libgd/ |
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 …]
|
H A D | gd_pixelate.c | 5 int x, y; in gdImagePixelate() local 15 for (x = 0; x < im->sx; x += block_size) { in gdImagePixelate() 16 if (gdImageBoundsSafe(im, x, y)) { in gdImagePixelate() 17 int c = gdImageGetPixel(im, x, y); in gdImagePixelate() 18 gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); in gdImagePixelate() 25 for (x = 0; x < im->sx; x += block_size) { in gdImagePixelate() 34 if (!gdImageBoundsSafe(im, x + cx, y + cy)) { in gdImagePixelate() 37 c = gdImageGetPixel(im, x + cx, y + cy); in gdImagePixelate() 48 gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); in gdImagePixelate()
|
/php-src/ext/gd/tests/ |
H A D | libgd00100.phpt | 29 $x = 100; 31 $x, $top, 32 $x+2*$d, $top, 35 $x, $bot 82 $x = 150; 84 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d); 87 $x = 180; 89 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d); 92 $x = 225; 94 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d); [all …]
|
/php-src/ext/dom/tests/ |
H A D | gh13012_ns.phpt | 9 $dom->loadXML("<root><x/><x xmlns:a=\"urn:a\" xmlns:b=\"urn:b\"/><x xmlns:b=\"urn:b\" xmlns:a=\"urn… 11 foreach ($dom->getElementsByTagName('x') as $x1) { 20 Comparing <x/> with <x/> 22 Comparing <x/> with <x xmlns:a="urn:a" xmlns:b="urn:b"/> 24 Comparing <x/> with <x xmlns:b="urn:b" xmlns:a="urn:a"/> 26 Comparing <x xmlns:a="urn:a" xmlns:b="urn:b"/> with <x/> 28 Comparing <x xmlns:a="urn:a" xmlns:b="urn:b"/> with <x xmlns:a="urn:a" xmlns:b="urn:b"/> 30 Comparing <x xmlns:a="urn:a" xmlns:b="urn:b"/> with <x xmlns:b="urn:b" xmlns:a="urn:a"/> 32 Comparing <x xmlns:b="urn:b" xmlns:a="urn:a"/> with <x/> 34 Comparing <x xmlns:b="urn:b" xmlns:a="urn:a"/> with <x xmlns:a="urn:a" xmlns:b="urn:b"/> [all …]
|
/php-src/ext/date/lib/ |
H A D | astro.c | 45 #define sind(x) sin((x)*DEGRAD) argument 46 #define cosd(x) cos((x)*DEGRAD) argument 47 #define tand(x) tan((x)*DEGRAD) argument 49 #define atand(x) (RADEG*atan(x)) argument 50 #define asind(x) (RADEG*asin(x)) argument 51 #define acosd(x) (RADEG*acos(x)) argument 52 #define atan2d(y,x) (RADEG*atan2(y,x)) argument 76 return (x - 360.0 * floor(x * INV360)); in astro_revolution() 84 return (x - 360.0 * floor(x * INV360 + 0.5)); in astro_rev180() 152 *r = sqrt(x*x + y*y); /* Solar distance */ in astro_sunpos() [all …]
|
/php-src/ext/opcache/tests/ |
H A D | bug78015.phpt | 8 $x = 1; 11 global $x; 12 $a = ['b' => [$x], 'c' => [$x]]; 18 global $x; 25 global $x; 32 global $x; 39 global $x; 46 global $x; 54 global $x; 77 global $x; [all …]
|
/php-src/Zend/tests/stack_limit/ |
H A D | stack_limit_010.phpt | 34 printf("Expected max_size: 0x%x\n", $expectedMaxSize); 37 var_dump($stack['max_size'] === sprintf('0x%x', $expectedMaxSize)); 43 string(%d) "0x%x" 45 string(%d) "0x%x" 47 string(%d) "0x%x" 49 string(%d) "0x%x" 51 Expected max_size: 0x%x 52 Actual max_size: 0x%x
|
/php-src/Zend/tests/type_declarations/ |
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-src/ext/standard/tests/strings/ |
H A D | vprintf_variation13.phpt | 18 "%x", 19 "%+x %-x %X", 20 "%lx %4x %-4x", 21 "%10.4x %-10.4x %04x %04.4x", 22 "%'#2x %'2x %'$2x %'_2x", 23 "%x %x %x %x", 24 "% %%x", 25 '%3$x %4$x %1$x %2$x'
|
H A D | vprintf_variation13_64bit.phpt | 18 "%x", 19 "%+x %-x %X", 20 "%lx %4x %-4x", 21 "%10.4x %-10.4x %04x %04.4x", 22 "%'#2x %'2x %'$2x %'_2x", 23 "%x %x %x %x", 24 "% %%x", 25 '%3$x %4$x %1$x %2$x'
|
/php-src/ext/spl/tests/ |
H A D | gh10925.phpt | 7 public $x; 11 $x = new MySplFixedArray(2); 12 var_dump($x->y); 13 $x->y = 2; 14 var_dump($x->y); 15 $serialized = serialize($x); 20 $serialized = serialize($x); 25 $x->y = 4; 39 ["x"]=> 50 ["x"]=> [all …]
|
H A D | bug74058.phpt | 15 echo "offsetSet('{$x}')\n"; 16 parent::offsetSet($x, $v); 21 echo "offsetGet('{$x}')\n"; 35 echo "offsetSet('{$x}')\n"; 36 parent::offsetSet($x, $v); 41 echo "offsetGet('{$x}')\n"; 46 $x = new MyArrayObject; 47 $x->a1 = new stdClass(); 48 var_dump($x->a1); 50 $x->a1->b = 'some value'; [all …]
|
/php-src/Zend/tests/restrict_globals/ |
H A D | valid.phpt | 7 var_dump($GLOBALS['x']); 8 $GLOBALS['x'] = 1; 9 var_dump($GLOBALS['x']); 10 $GLOBALS['x']++; 11 var_dump($GLOBALS['x']); 12 $GLOBALS['x'] += 2; 13 var_dump($GLOBALS['x']); 22 var_dump($x, $y, $z); 29 $x = 1; 30 $ref2 =& $GLOBALS['x']; [all …]
|
/php-src/ext/opcache/tests/jit/ |
H A D | fetch_obj_004.phpt | 16 $x = new C; 17 $x->a = 1; 18 unset($x->a); 19 $x->a = 3; 20 var_dump($x); 23 $x = new C; 24 $x->a = 1; 25 $x->b = 2; 26 unset($x->a); 27 $x->a = 3; [all …]
|
H A D | fetch_obj_003.phpt | 16 $x = new C; 17 $x->a = 1; 18 unset($x->a); 19 $x->a += 2; 20 var_dump($x); 23 $x = new C; 24 $x->a = 1; 25 $x->b = 2; 26 unset($x->a); 27 $x->a += 2; [all …]
|
/php-src/ext/date/tests/ |
H A D | date_time_immutable.phpt | 21 dump($v, $z, $x); 25 dump($v, $z, $x); 31 dump($v, $z, $x); 35 dump($v, $z, $x); 41 dump($v, $z, $x); 45 dump($v, $z, $x); 51 dump($v, $z, $x); 55 dump($v, $z, $x); 59 dump($v, $z, $x); 65 dump($v, $z, $x); [all …]
|
/php-src/ext/json/tests/ |
H A D | json_encode_pretty_print2.phpt | 7 public $x; 9 public function __construct($x = 123, $y = []) { 10 $this->x = $x; 30 unset($obj->x); 37 {"x":123,"y":[]} 39 "x": 123, 42 {"x":123,"y":[],"dynamic":{"x":null,"y":[]}} 44 "x": 123, 47 "x": null, 51 {"x":123} [all …]
|
/php-src/Zend/tests/in-de-crement/ |
H A D | incdec_undef.phpt | 8 var_dump($x--); 9 unset($x); 10 var_dump($x++); 11 unset($x); 12 var_dump(--$x); 13 unset($x); 14 var_dump(++$x); 17 Undefined variable $x 20 Undefined variable $x 22 Undefined variable $x [all …]
|