Home
last modified time | relevance | path

Searched refs:x (Results 126 – 150 of 1557) sorted by relevance

12345678910>>...63

/PHP-8.0/Zend/tests/
H A Ddereference_003.phpt9 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 Dassign_obj_to_ref_inference.phpt7 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 Dobjects_031.phpt6 $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 Dconstant_arrays.phpt11 $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 Dbug39018.phpt23 $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 Dbug55156.phpt12 $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 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;
17 "x" => [1, 2],
21 list("x" => list($x1, $x2), "y" => list($y1, $y2)) = $invertedPoints;
H A Dtemporary_cleaning_013.phpt36 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 Dclosure_005.phpt7 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 Dns_034.phpt10 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 Dunset_cv10.phpt6 $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 DReflectionClass_getModifierNames_basic.phpt12 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 Dbug61388.phpt5 $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 Dobserver_009.phpt13 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 Dinference_012.phpt11 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 Dzend_strtod.c678 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 Dbless_tests.php185 $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 Dcdb_make.c145 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 Dconfusable_type_warning.phpt7 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 Dtyped_properties_103.phpt9 $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 Dbug73281.phpt18 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 Dbug66084_0.phpt7 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 Dfwrite_variation4-win32.phpt2 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 Dfwrite_variation4.phpt2 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 Dbug71020.phpt9 for($x=0;$x<0xbb;$x++)
10 …[substr(md5(microtime()),rand(0,26),9) . strval($x)]= substr(md5(microtime()),rand(0,26),9) . strv…

Completed in 41 milliseconds

12345678910>>...63