Home
last modified time | relevance | path

Searched refs:y (Results 26 – 50 of 717) sorted by relevance

12345678910>>...29

/php-src/ext/date/lib/
H A Dastro.c34 (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-src/tests/lang/
H A DpassByReference_008.phpt5 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 Dfunc_num_args.004.phpt5 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 DpassByReference_009.phpt5 function foo(&$x, &$y) { $x = 1; echo $y ; }
11 function foo2($x, &$y, $z)
14 echo $y; // 1
15 $y = 2;
/php-src/Zend/tests/
H A Dtemporary_cleaning_004.phpt17 $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 Dtemporary_cleaning_005.phpt18 $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 Dforeach_list_keyed.phpt7 ["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 Dlist_mixed_nested_keyed_unkeyed.phpt7 ["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 Dtemporary_cleaning_002.phpt12 $y = 0;
15 $r = "$y|$x->x|";
20 $r = "$x->x|$y|";
25 $r = "$y|$y|$x->x";
H A Dbug81104.phpt15 $y = [];
17 $y[] = new X();
19 $y[0]->y = &$y;
/php-src/ext/ffi/tests/
H A D040.phpt33 $y = FFI::cdef()->new("int[2]");
34 $y[0] = 6;
35 var_dump($y[0]);
36 var_dump(FFI::typeof($y[0]));
38 $p = FFI::addr($y[0]);
41 var_dump($y[0]);
42 var_dump(FFI::sizeof($y[0]));
43 var_dump(FFI::alignof($y[0]));
44 FFI::memset($y[0], ord("b"), 4);
45 var_dump(FFI::string($y[0], 4));
[all …]
/php-src/ext/opcache/tests/jit/
H A Dreg_alloc_006.phpt12 $y - $b = $a ? $b : $y;
20 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5
22 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5
24 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5
26 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5
28 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5
30 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5
32 Warning: Undefined variable $y in %sreg_alloc_006.php on line 5
/php-src/ext/spl/tests/
H A Dgh10925.phpt8 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;}"
41 ["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:…
52 ["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-src/ext/pdo_sqlite/tests/
H A Dbug44327_3.phpt11 $y = $x->fetch(PDO::FETCH_LAZY);
12 var_dump($y, $y->queryString, $y->queryStringzz, $y->queryStringxx);
16 var_dump($y[5], $y->{3});
/php-src/ext/gd/tests/
H A Dbug77198_threshold.phpt12 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 Dlibgd00100.phpt83 $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 Dbug79615.phpt9 for ($y = 0; $y < 3; $y++) {
10 imagesetpixel($im, $x, $y, imagecolorallocate($im, $x, $y, 0));
/php-src/ext/standard/tests/array/
H A Darray_search_variation2.phpt17 "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-src/ext/standard/tests/strings/
H A Dbug73058.phpt7 $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-src/ext/opcache/tests/opt/
H A Dmatch_001.phpt9 +$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 Dinference_020.phpt9 function y() {
11 $y = $y[] += 3/6 - ~$y;
/php-src/Zend/tests/constexpr/
H A Dnew_named_params.phpt7 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-src/ext/reflection/tests/
H A Dconstructor_promotion.phpt11 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');
50 Property [ public string $y ]
59 Parameter #1 [ <optional> string $y = '123' ]
/php-src/Zend/tests/type_declarations/union_types/
H A Dprop_ref_assign.phpt8 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-src/scripts/dev/
H A Dbless_tests.php176 return $this->extractDiff($trace, $x, $y, $old, $new);
194 $y = $x - $k;
195 while ($x < $n && $y < $m && ($this->isEqual)($a[$x], $b[$y])) {
197 $y++;
201 if ($x >= $n && $y >= $m) {
202 return [$trace, $x, $y];
213 $k = $x - $y;
224 while ($x > $prevX && $y > $prevY) {
227 $y--;
239 while ($y > $prevY) {
[all …]

Completed in 29 milliseconds

12345678910>>...29