/PHP-8.0/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-8.0/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 …]
|
H A D | init_fcall_002.phpt | 13 function foo($x) { 14 return $x; 17 function foo($x) { 18 return $x; 20 function test2($x) { 21 return foo(foo($x)); 24 $x = new C; 25 foo(foo($x->foo(foo(test2($x)))));
|
/PHP-8.0/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 …]
|
H A D | ref_range_1.phpt | 7 escape_x($x); 8 $x = 0; 10 return (int) $x; 13 function escape_x(&$x) { 14 $GLOBALS['x'] =& $x; 18 $GLOBALS['x']++;
|
/PHP-8.0/Zend/tests/ |
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 | 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 | 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 | 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
|
H A D | method_argument_binding.phpt | 7 private function method($x) {} 12 $x = 1; 13 $this->method($x); 14 var_dump($x); 19 public function method(&$x) { 20 ++$x; 27 private function method(&$x) { 28 ++$x; 36 $this->method($x); 46 Warning: Undefined variable $x in %s on line %d
|
H A D | closure_009.phpt | 6 $x = function ($x) use ($a) { 10 echo $x.':'.$a."\n"; 12 $y = function ($x) use (&$a) { 16 echo $x.':'.$a."\n"; 18 $x(1); 19 $x(2); 20 $x(3);
|
H A D | temporary_cleaning_002.phpt | 6 function __get($x) { 11 $x = new Obj; 15 $r = "$y|$x->x|"; 20 $r = "$x->x|$y|"; 25 $r = "$y|$y|$x->x";
|
H A D | exception_from_toString.phpt | 16 try { $x = $str . $badStr; } 18 try { $x = $badStr . $str; } 20 try { $x = $str .= $badStr; } 23 try { $x = $num . $badStr; } 38 try { $x = "x$badStr"; } 40 try { $x = "{$badStr}x"; } 47 try { $x = "x$badStr$str"; } 49 try { $x = "x$str$badStr"; } 51 try { $x = "{$str}x$badStr"; } 53 try { $x = "{$badStr}x$str"; } [all …]
|
/PHP-8.0/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'
|
H A D | vprintf_variation14.phpt | 18 '%x %+x %-x 19 %lx x %4x %-4x 20 %10.4x %-10.4x %.4x 21 %\'#2x %\'2x %\'$2x %\'_2x 22 %3$x %4$x %1$x %2$x'; 83 1e240 x fffffb2e 4d2 91 1e240 x ff439a5b bc65a5 99 7b x ffffff85 7b 107 1 x 1 1 115 1 x 0 1
|
/PHP-8.0/ext/gd/libgd/ |
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-8.0/ext/spl/tests/ |
H A D | bug74058.phpt | 13 public function offsetSet($x, $v) 15 echo "offsetSet('{$x}')\n"; 19 public function offsetGet($x) 21 echo "offsetGet('{$x}')\n"; 35 echo "offsetSet('{$x}')\n"; 39 public function offsetGet($x) 46 $x = new MyArrayObject; 47 $x->a1 = new stdClass(); 48 var_dump($x->a1); 50 $x->a1->b = 'some value'; [all …]
|
H A D | fixedarray_023.phpt | 6 $x = new SplFixedArray(4); 7 …$x[0] = NAN; // Test NAN just in case this check is incorrectly refactored to use zend_is_identical 8 $x[1] = 0.0; 9 $x[2] = $x; 10 $x[3] = $x; 11 var_export($x); 13 $x[1] = -0.0; 14 debug_zval_dump($x);
|
/PHP-8.0/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-8.0/ext/hash/sha3/generic64lc/ |
H A D | align.h | 25 #define ALIGN(x) __attribute__ ((aligned(x))) argument 27 #define ALIGN(x) __declspec(align(x)) argument 29 #define ALIGN(x) __align(x) argument 31 #define ALIGN(x) argument
|
/PHP-8.0/ext/hash/sha3/generic32lc/ |
H A D | align.h | 25 #define ALIGN(x) __attribute__ ((aligned(x))) argument 27 #define ALIGN(x) __declspec(align(x)) argument 29 #define ALIGN(x) __align(x) argument 31 #define ALIGN(x) argument
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | bug28739.phpt | 6 public $x; 7 function __construct($x){$this->x=$x;} 9 function a($a, $b){var_dump(__FUNCTION__);return $a->x - $b->x;} 10 function b($a, $b){var_dump(__FUNCTION__);return $a->x - $b->x;} 27 [x] => 0 32 [x] => 1 37 [x] => 2 55 [x] => 1
|
/PHP-8.0/tests/lang/operators/ |
H A D | overloaded_property_ref.phpt | 7 function &__get($x) { return $this->bar; } 8 function __set($x, $v) { $this->bar = $v; } 10 $x = new C; 11 var_dump(++$x->foo); 12 $x = new C; 13 var_dump($x->foo++); 14 $x = new C; 15 var_dump($x->foo += 2);
|