/PHP-8.0/Zend/tests/ |
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 | 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 | 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);
|
H A D | constant_arrays.phpt | 11 $x = FOOBAR; 12 $x[0] = 7; 13 var_dump($x, FOOBAR); 15 $x = FOO_BAR; 16 $x[0] = 7; 17 var_dump($x, FOO_BAR); 20 $x = 7; 21 $y = [&$x]; 24 var_dump($x, $y, QUX);
|
H A D | bug39018.phpt | 23 $x = 'test'; 25 @$x[4]; 27 @$y = $x[4]; 29 @('a' == $x[4]); 31 $x[4] == 'a'; // 28 33 @$x[4] == 'a'; 35 (@$x[4]) == 'a'; 37 ($x[4]) == 'a'; // 34 39 (@($x[4])) == 'a'; 43 @($x[4]) == 'a'; [all …]
|
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 | 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 | temporary_cleaning_013.phpt | 36 function __set($x, $y) {} 56 function offsetSet($x, $y) {} 58 function offsetUnset($x) {} 71 function offsetUnset($x) {} 88 function __set($x, $y) {} 111 function __set($x, $y) {} 154 function __set($x, $y) {} 179 function __set($x, $y) {} 217 function __get($x) {} 225 function offsetGet($x) {} [all …]
|
H A D | closure_005.phpt | 7 private $x; 9 function __construct($x) { 10 $this->x = $x; 19 $this->x += $val; 25 echo $this->x."\n"; 31 echo $this->x."\n"; 36 echo $this->x."\n";
|
H A D | ns_034.phpt | 10 function f1($x=Foo::C) { 11 echo $x; 13 function f2($x=B\Foo::C) { 14 echo $x; 16 function f3($x=\A\Foo::C) { 17 echo $x;
|
H A D | unset_cv10.phpt | 6 $x = "ok\n"; 7 echo $x; 8 $a->offsetUnset('x'); 9 echo $x; 15 Warning: Undefined variable $x in %s on line %d
|
/PHP-8.0/ext/reflection/tests/ |
H A D | ReflectionClass_getModifierNames_basic.phpt | 12 class x 66 string(14) "x::__construct" 71 string(13) "x::__destruct" 76 string(4) "x::a" 81 string(4) "x::b" 88 string(4) "x::c" 93 string(4) "x::d" 100 string(4) "x::e" 105 string(4) "x::f" 112 string(4) "x::g" [all …]
|
H A D | bug61388.phpt | 5 $x = new ArrayObject(); 6 $x[0] = 'test string 2'; 7 $x['test'] = 'test string 3'; 8 $reflObj = new ReflectionObject($x); 11 $x = (object)array("a", "oo" => "b"); 12 $reflObj = new ReflectionObject($x);
|
/PHP-8.0/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
|
/PHP-8.0/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-8.0/Zend/ |
H A D | zend_strtod.c | 678 x = b->x; 755 (x) ULong x; in hi0bits() argument 883 for(x = c->x, xa = x + wc; x < xa; x++) 1044 x = b->x; 1210 (x) U *x; in ulp() argument 1347 x = b->x; 1708 x = b->x; 1776 x = b->x; 1985 x = b->x; 2014 x = b->x; [all …]
|
/PHP-8.0/scripts/dev/ |
H A D | bless_tests.php | 185 $x = $v[$k+1]; 187 $x = $v[$k-1] + 1; 190 $y = $x - $k; 191 while ($x < $n && $y < $m && ($this->isEqual)($a[$x], $b[$y])) { 192 $x++; 196 $v[$k] = $x; 197 if ($x >= $n && $y >= $m) { 209 $k = $x - $y; 222 $x--; 230 while ($x > $prevX) { [all …]
|
/PHP-8.0/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-8.0/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 …]
|
H A D | typed_properties_103.phpt | 9 $x = new C; 10 $x->a = 1; 11 unset($x->a); 12 $x->a += 2; 13 var_dump($x);
|
/PHP-8.0/ext/gd/tests/ |
H A D | bug73281.phpt | 18 list($x, $y) = $coordinate; 19 printf("%3d, %3d: %x\n", $x, $y, imagecolorat($dst, $x, $y)); 28 list($x, $y) = $coordinate; 29 printf("%3d, %3d: %x\n", $x, $y, imagecolorat($dst, $x, $y));
|
/PHP-8.0/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-8.0/ext/standard/tests/file/ |
H A D | fwrite_variation4-win32.phpt | 2 Test fwrite() function : usage variations - x, xb, xt, x+, x+b & x+t modes 17 Test fwrite with file opened in mode : x, xb, xt, x+, x+b, x+t 21 $file_modes = array("x","xb","xt","x+","x+b","x+t"); 68 -- Opening file in x -- 92 -- Opening file in x+ -- 100 -- Opening file in x+b -- 118 -- Opening file in x -- 142 -- Opening file in x+ -- 168 -- Opening file in x -- 192 -- Opening file in x+ -- [all …]
|
H A D | fwrite_variation4.phpt | 2 Test fwrite() function : usage variations - x, xb, xt, x+, x+b & x+t modes 17 Test fwrite with file opened in mode : x, xb, xt, x+, x+b, x+t 21 $file_modes = array("x","xb","xt","x+","x+b","x+t"); 68 -- Opening file in x -- 92 -- Opening file in x+ -- 100 -- Opening file in x+b -- 118 -- Opening file in x -- 142 -- Opening file in x+ -- 168 -- Opening file in x -- 192 -- Opening file in x+ -- [all …]
|
/PHP-8.0/ext/intl/tests/ |
H A D | bug71020.phpt | 9 for($x=0;$x<0xbb;$x++) 10 …[substr(md5(microtime()),rand(0,26),9) . strval($x)]= substr(md5(microtime()),rand(0,26),9) . strv…
|