/php-src/ext/dba/libcdb/ |
H A D | cdb_make.c | 145 struct cdb_hplist *x; in cdb_make_finish() local 151 for (x = c->head; x; x = x->next) { in cdb_make_finish() 152 i = x->num; in cdb_make_finish() 154 ++c->count[255 & x->hp[i].h]; in cdb_make_finish() 184 for (x = c->head; x; x = x->next) { in cdb_make_finish() 185 i = x->num; in cdb_make_finish() 187 c->split[--c->start[255 & x->hp[i].h]] = x->hp[i]; in cdb_make_finish() 222 for (x = c->head; x; c->head = x) { in cdb_make_finish() 223 x = x->next; in cdb_make_finish()
|
/php-src/scripts/dev/ |
H A D | bless_tests.php | 189 $x = $v[$k+1]; 191 $x = $v[$k-1] + 1; 194 $y = $x - $k; 195 while ($x < $n && $y < $m && ($this->isEqual)($a[$x], $b[$y])) { 196 $x++; 200 $v[$k] = $x; 201 if ($x >= $n && $y >= $m) { 213 $k = $x - $y; 226 $x--; 234 while ($x > $prevX) { [all …]
|
/php-src/Zend/tests/ |
H A D | unset_cv01.phpt | 5 $x = "ok\n"; 6 echo $x; 7 unset($x); 8 echo $x; 13 Warning: Undefined variable $x in %s on line %d
|
H A D | ns_073.phpt | 8 $x = function (\stdclass $x = NULL) { 9 var_dump($x); 12 $x(NULL); 13 $x(new \stdclass); 17 Deprecated: {closure:%s:%d}(): Implicitly marking parameter $x as nullable is deprecated, the expli…
|
H A D | closure_018.phpt | 7 public function test(&$x) { 9 $lambda = function &() use (&$x) { 10 return $x = $x * $x; 20 var_dump($x = $test->test($y)); 21 var_dump($y, $x);
|
H A D | assign_obj_to_ref_inference.phpt | 7 public int $x = 42; 14 $r->x = 3.141; 15 var_dump(is_float($o->x)); 22 $r->x = 3.141; 23 var_dump(is_float($o->x)); 29 $GLOBALS['r']->x = 3.141; 30 var_dump(is_float($o->x));
|
H A D | dereference_003.phpt | 9 public $x = 2; 11 $x = array(); 12 $x[] = new foo; 13 return $x; 31 var_dump($foo->a()[0]->x); 33 var_dump($foo->b()[1][0]->a()[0]->x); 41 ["x"]=>
|
H A D | temporary_cleaning_013.phpt | 35 function __get($x) { return [0]; } 36 function __set($x, $y) {} 56 function offsetSet($x, $y): void {} 58 function offsetUnset($x): void {} 71 function offsetUnset($x): void {} 89 function __set($x, $y) {} 113 function __set($x, $y) {} 158 function __set($x, $y) {} 184 function __set($x, $y) {} 222 function __get($x) {} [all …]
|
H A D | unset_cv02.phpt | 5 $x = "ok\n"; 6 echo $x; 7 unset($GLOBALS["x"]); 8 echo $x; 13 Warning: Undefined variable $x in %s on line %d
|
H A D | bug79836_1.phpt | 7 $x = 'non-empty'; 12 $x = $c . $x; 13 $x = $c . $x;
|
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; 17 "x" => [1, 2], 21 list("x" => list($x1, $x2), "y" => list($y1, $y2)) = $invertedPoints;
|
H A D | bug55156.phpt | 12 $x = new \ReflectionFunction('foo\test'); 13 var_dump($x->getDocComment()); 21 $x = new \ReflectionClass('foo\bar'); 22 var_dump($x->getDocComment()); 24 $x = new \ReflectionClass('foo\foo'); 25 var_dump($x->getDocComment());
|
H A D | objects_031.phpt | 6 $x[] = clone new stdclass; 7 $x[] = clone new stdclass; 8 $x[] = clone new stdclass; 10 $x[0]->a = 1; 12 var_dump($x);
|
/php-src/Zend/tests/generators/ |
H A D | aborted_yield_during_nested_fcalls.phpt | 8 function gen($x) { 9 func(func($x, $x, func($x, yield))); 12 $gen = gen("x");
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_internal.h | 148 x = ((x >> 16) ^ x) * 0x45d9f3b; in zend_jit_hash() 149 x = ((x >> 16) ^ x) * 0x45d9f3b; in zend_jit_hash() 150 x = (x >> 16) ^ x; in zend_jit_hash() 152 x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9; in zend_jit_hash() 153 x = (x ^ (x >> 27)) * 0x94d049bb133111eb; in zend_jit_hash() 154 x = x ^ (x >> 31); in zend_jit_hash() 729 return (x > 0) && !(x & (x - 1)); in zend_long_is_power_of_two() 737 x = (((x >> 4) + x) & 0x0f0f0f0f); in ones32() 738 x += (x >> 8); in ones32() 746 x |= (x >> 1); in floor_log2() [all …]
|
/php-src/ext/gd/tests/ |
H A D | bug73281.phpt | 19 list($x, $y) = $coordinate; 20 printf("%3d, %3d: %x\n", $x, $y, imagecolorat($dst, $x, $y)); 29 list($x, $y) = $coordinate; 30 printf("%3d, %3d: %x\n", $x, $y, imagecolorat($dst, $x, $y));
|
/php-src/ext/simplexml/tests/ |
H A D | bug66084_0.phpt | 7 echo var_dump(simplexml_load_string('<a><b/><c><x/></c></a>')), "\n"; 8 echo var_dump(simplexml_load_string('<a><b/><d/><c><x/></c></a>')), "\n"; 9 echo var_dump(simplexml_load_string('<a><b/><c><d/><x/></c></a>')), "\n"; 10 echo var_dump(simplexml_load_string('<a><b/><c><d><x/></d></c></a>')), "\n"; 19 ["x"]=> 34 ["x"]=> 49 ["x"]=> 63 ["x"]=>
|
/php-src/Zend/tests/stack_limit/ |
H A D | stack_limit_004.phpt | 46 string(%d) "0x%x" 48 string(%d) "0x%x" 50 string(%d) "0x%x" 52 string(%d) "0x%x"
|
/php-src/Zend/tests/constexpr/ |
H A D | new_arg_eval.phpt | 7 public function __construct(public $x) {} 12 $c = new C(x: __FILE__), 27 ["x"]=> 31 ["x"]=> 35 ["x"]=> 39 ["x"]=> 41 ["x"]=>
|
/php-src/Zend/tests/type_declarations/ |
H A D | confusable_type_warning.phpt | 7 function test1(integer $x) {} 8 function test2(double $x) {} 9 function test3(boolean $x) {} 10 function test4(resource $x) {} 16 function test5(\integer $x) {} 18 function test7(foo $x) {} 19 function test8(boolean $x) {} 24 function test9(integer $x) {} 30 function test10(\integer $x) {} 32 function test12(foo $x) {} [all …]
|
/php-src/ext/random/tests/01_functions/ |
H A D | mt_rand_basic.phpt | 37 for ($x = 0; $x < count($min); $x++) { 39 $res = mt_rand($min[$x], $max[$x]); 41 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) { 42 … echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 48 echo "PASSED: range min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
|
H A D | rand_basic.phpt | 37 for ($x = 0; $x < count($min); $x++) { 39 $res = rand($min[$x], $max[$x]); 41 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) { 42 … echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 48 echo "PASSED: range min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n";
|
/php-src/Zend/ |
H A D | zend_strtod.c | 662 x = b->x; 739 (x) ULong x; in hi0bits() argument 867 for(x = c->x, xa = x + wc; x < xa; x++) 1030 x = b->x; 1196 (x) U *x; in ulp() argument 1333 x = b->x; 1694 x = b->x; 1762 x = b->x; 1971 x = b->x; 2000 x = b->x; [all …]
|
/php-src/ext/opcache/tests/opt/ |
H A D | inference_012.phpt | 11 unset($x['b'][$closure()]['d']); 12 $x = $arr; 14 $x = $arr; 15 unset($x['b'][$closure()]['d']); 16 $x = $arr; 23 Warning: Undefined variable $x in %sinference_012.php on line 4
|
/php-src/ext/spl/tests/ |
H A D | observer_009.phpt | 13 echo ' x '; 21 echo ' x '; 26 Count storage A: 2 x x 27 Count storage B: 2 x x
|