/PHP-8.2/ext/date/lib/ |
H A D | tm2unixtime.c | 57 (*y)++; in inc_month() 66 (*y)--; in dec_month() 137 previous_year = (*y); in do_range_limit_days() 212 ddd = g - ((365*y) + (y/4) - (y/100) + (y/400)); in magic_date_calc() 214 y--; in magic_date_calc() 215 ddd = g - ((365*y) + (y/4) - (y/100) + (y/400)); in magic_date_calc() 219 y = y + (mi + 2) / 12; in magic_date_calc() 221 time->y = y; in magic_date_calc() 259 time->y += time->relative.y; in do_adjust_relative() 458 y -= time->m <= 2; in timelib_epoch_days_from_time() [all …]
|
H A D | astro.c | 34 (367L*(y)-((7*((y)+(((m)+9)/12)))/4)+((275*(m))/9)+(d)-730530L) 52 #define atan2d(y,x) (RADEG*atan2(y,x)) argument 151 y = sqrt(1.0 - e*e) * sind(E); in astro_sunpos() 152 *r = sqrt(x*x + y*y); /* Solar distance */ in astro_sunpos() 162 double lon, obl_ecl, x, y, z; in astro_sun_RA_dec() local 169 y = *r * sind(lon); in astro_sun_RA_dec() 175 z = y * sind(obl_ecl); in astro_sun_RA_dec() 176 y = y * cosd(obl_ecl); in astro_sun_RA_dec() 179 *RA = atan2d(y, x); in astro_sun_RA_dec() 180 *dec = atan2d(z, sqrt(x*x + y*y)); in astro_sun_RA_dec() [all …]
|
/PHP-8.2/tests/lang/ |
H A D | passByReference_008.phpt | 5 function valRef($x, &$y) { 6 var_dump($x, $y); 8 $y = 'changed.y'; 11 function refVal(&$x, $y) { 12 var_dump($x, $y); 14 $y = 'changed.y'; 32 string(9) "changed.y"
|
H A D | func_num_args.004.phpt | 5 function valRef($x, &$y) { 6 var_dump($x, $y); 9 $y = 'changed.y'; 13 function refVal(&$x, $y) { 14 var_dump($x, $y); 17 $y = 'changed.y'; 38 string(9) "changed.y"
|
H A D | passByReference_009.phpt | 5 function foo(&$x, &$y) { $x = 1; echo $y ; } 11 function foo2($x, &$y, $z) 14 echo $y; // 1 15 $y = 2;
|
/PHP-8.2/Zend/tests/ |
H A D | temporary_cleaning_004.phpt | 17 $y = new stdClass; 19 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 20 $y = (array) $y; 32 $y = new stdClass; 34 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 35 $y = (array) $y;
|
H A D | temporary_cleaning_005.phpt | 18 $y = new stdClass; 20 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 21 $y = (array) $y; 35 $y = new stdClass; 37 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 38 $y = (array) $y;
|
H A D | foreach_list_keyed.phpt | 7 ["x" => 1, "y" => 2], 8 ["x" => 2, "y" => 1] 11 foreach ($points as list("x" => $x, "y" => $y)) { 12 var_dump($x, $y); 19 "y" => [2, 1]
|
H A D | list_mixed_nested_keyed_unkeyed.phpt | 7 ["x" => 1, "y" => 2], 8 ["x" => 2, "y" => 1] 11 list(list("x" => $x1, "y" => $y1), list("x" => $x2, "y" => $y2)) = $points; 18 "y" => [2, 1] 21 list("x" => list($x1, $x2), "y" => list($y1, $y2)) = $invertedPoints;
|
H A D | temporary_cleaning_002.phpt | 12 $y = 0; 15 $r = "$y|$x->x|"; 20 $r = "$x->x|$y|"; 25 $r = "$y|$y|$x->x";
|
H A D | bug81104.phpt | 15 $y = []; 17 $y[] = new X(); 19 $y[0]->y = &$y;
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | reg_alloc_006.phpt | 13 $y - $b = $a ? $b : $y; 21 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 23 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 25 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 27 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 29 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 31 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5 33 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5
|
/PHP-8.2/ext/spl/tests/ |
H A D | gh10925.phpt | 8 public int $y = 3; 12 var_dump($x->y); 13 $x->y = 2; 14 var_dump($x->y); 25 $x->y = 4; 33 string(61) "O:15:"MySplFixedArray":4:{i:0;N;i:1;N;s:1:"x";N;s:1:"y";i:2;}" 37 ["y"]=> 44 string(115) "O:15:"MySplFixedArray":5:{i:0;N;i:1;N;s:1:"x";N;s:1:"y";i:2;s:16:"dynamic_property";s:… 48 ["y"]=> 57 string(116) "O:15:"MySplFixedArray":5:{i:0;N;i:1;N;s:1:"x";N;s:1:"y";i:4;s:16:"dynamic_property";s:… [all …]
|
/PHP-8.2/ext/pdo_sqlite/tests/ |
H A D | bug44327_3.phpt | 11 $y = $x->fetch(PDO::FETCH_LAZY); 12 var_dump($y, $y->queryString, $y->queryStringzz, $y->queryStringxx); 16 var_dump($y[5], $y->{3});
|
/PHP-8.2/ext/gd/tests/ |
H A D | bug77198_threshold.phpt | 12 function createWhiteImageWithBlackPixelAt($x, $y) 16 imagesetpixel($im, $x, $y, 0x000000); 20 for ($y = 0; $y < 8; $y++) { 22 $orig = createWhiteImageWithBlackPixelAt($x, $y); 25 printf("Pixel at %d, %d: unexpected NULL crop\n", $x, $y); 29 printf("Pixel at %d, %d: unexpected width (%d)\n", $x, $y, $width); 33 printf("Pixel at %d, %d: unexpected height (%d)\n", $x, $y, $height); 37 printf("Pixel at %d, %d: unexpected color (%d)\n", $x, $y, $color);
|
H A D | libgd00100.phpt | 83 $y = 150; 84 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d); 88 $y = 225; 89 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d); 93 $y = 255; 94 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d);
|
H A D | bug79615.phpt | 9 for ($y = 0; $y < 3; $y++) { 10 imagesetpixel($im, $x, $y, imagecolorallocate($im, $x, $y, 0));
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | array_search_variation2.phpt | 17 "y" =>NULL, 53 string(1) "y" 55 string(1) "y" 61 string(1) "y" 63 string(1) "y" 81 string(1) "y" 82 string(1) "y" 83 string(1) "y" 85 string(1) "y" 87 string(1) "y" [all …]
|
/PHP-8.2/ext/standard/tests/strings/ |
H A D | bug73058.phpt | 7 $salt = '$2y$07$usesomesillystringforsalt$'; 10 $salt = '$2y$07$usesomesillystringforsaltzzzzzzzzzzzzz$'; 13 $salt = '$2y$07$usesomesillystringforx'; 19 string(60) "$2y$07$usesomesillystringforex.u2VJUMLRWaJNuw0Hu2FvCEimdeYVO" 20 string(60) "$2y$07$usesomesillystringforex.u2VJUMLRWaJNuw0Hu2FvCEimdeYVO" 21 string(60) "$2y$07$usesomesillystringforuw2Gm1ef7lMsvtzSK2p/14F0q1e8uOCO"
|
/PHP-8.2/ext/opcache/tests/opt/ |
H A D | match_001.phpt | 9 +$y . +$y . match(y) {} 12 Warning: Undefined variable $y in %smatch_001.php on line 2 14 Warning: Undefined variable $y in %smatch_001.php on line 2 16 Fatal error: Uncaught Error: Undefined constant "y" in %smatch_001.php:2
|
H A D | inference_020.phpt | 9 function y() { 11 $y = $y[] += 3/6 - ~$y;
|
/PHP-8.2/Zend/tests/constexpr/ |
H A D | new_named_params.phpt | 7 public function __construct(public float $x, public float $y, public float $z) {} 10 static $a = new Vec(x: 0.0, y: 1.0, z: 2.0); 13 static $b = new Vec(z: 0.0, y: 1.0, x: 2.0); 16 static $c = new Vec(0.0, z: 1.0, y: 2.0); 30 ["y"]=> 38 ["y"]=> 46 ["y"]=>
|
/PHP-8.2/ext/reflection/tests/ |
H A D | constructor_promotion.phpt | 11 public string $y = "123", 19 $y = $rc->getProperty('y'); 20 var_dump($y->isPromoted()); 21 var_dump($y->getDocComment()); 27 $rp = new ReflectionParameter([Test::class, '__construct'], 'y'); 49 Property [ public string $y ] 58 Parameter #1 [ <optional> string $y = '123' ]
|
/PHP-8.2/Zend/tests/type_declarations/union_types/ |
H A D | prop_ref_assign.phpt | 8 public float|string $y; 14 $test->y =& $r; 32 unset($r, $test->x, $test->y); 36 $test->y =& $test->x; 41 unset($test->x, $test->y); 43 $test->y = 42.0; 45 $test->x =& $test->y; 52 Cannot assign int to reference held by property Test::$x of type string|int and property Test::$y o… 55 Cannot assign float to reference held by property Test::$x of type string|int and property Test::$y… 58 … property Test::$x of type string|int is not compatible with property Test::$y of type string|float [all …]
|
/PHP-8.2/scripts/dev/ |
H A D | bless_tests.php | 174 return $this->extractDiff($trace, $x, $y, $old, $new); 192 $y = $x - $k; 193 while ($x < $n && $y < $m && ($this->isEqual)($a[$x], $b[$y])) { 195 $y++; 199 if ($x >= $n && $y >= $m) { 200 return [$trace, $x, $y]; 211 $k = $x - $y; 222 while ($x > $prevX && $y > $prevY) { 225 $y--; 237 while ($y > $prevY) { [all …]
|