Home
last modified time | relevance | path

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

12345678910>>...72

/PHP-8.3/Zend/tests/
H A Dbug44141.phpt7 public $x;
8 private function __construct($x)
10 $this->x = $x;
16 static public function cheat($x)
18 return new Y($x);
23 echo $y->x, PHP_EOL;
H A Dgc_035.phpt9 public $x;
11 unset($this->x);
16 $a->x = [];
17 $a->x[] =& $a->x;
18 $a->x[] = $a;
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);
18 "x" => [1, 2],
H A Ddereference_012.phpt7 static $x = array();
10 self::$x = array(1, 2, 3);
11 return self::$x;
15 $x = array(1);
16 $x[] = 2;
17 return $x;
25 var_dump($foo::$x);
H A Dbug43651.phpt11 var_dump(is_callable("x\\"));
12 var_dump(is_callable("\\x"));
13 var_dump(is_callable("x\\x"));
14 var_dump(is_callable("x\\\\"));
15 var_dump(is_callable("\\x"));
16 var_dump(is_callable("x\\\\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 Dassign_op_type_error.phpt6 $x = [];
8 $x += "1";
13 $x -= "1";
18 $x *= "1";
23 $x /= "1";
28 $x **= "1";
33 $x %= "1";
38 $x <<= "1";
43 $x >>= "1";
H A D037.phpt8 class closure { static $x = 1;}
10 $x = __NAMESPACE__;
11 var_dump(closure::$x);
13 var_dump($x::$x);
19 Fatal error: Uncaught Error: Access to undeclared static property Closure::$x in %s:%d
H A Dbug72543_3.phpt5 $x = new stdClass;
6 $x->a = 1;
7 $ref =& $x->a;
9 var_dump($x->a + ($x->a = 2));
H A Dgc_042.phpt9 $GLOBALS['x'] = $this;
14 $t->x = new stdClass;
15 $t->x->t = $t;
16 $a = (array) $t->x;
19 var_dump($x);
24 ["x"]=>
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 Dunset_cv01.phpt5 $x = "ok\n";
6 echo $x;
7 unset($x);
8 echo $x;
13 Warning: Undefined variable $x in %s on line %d
/PHP-8.3/ext/standard/tests/array/
H A Darray_merge_replace_recursive_refs.phpt6 $x = 24;
8 $arr2 = [[&$x]];
9 unset($x);
16 $x = 24;
18 $arr2 = [&$x];
19 unset($x);
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_internal.h246 x = ((x >> 16) ^ x) * 0x45d9f3b; in zend_jit_hash()
247 x = ((x >> 16) ^ x) * 0x45d9f3b; in zend_jit_hash()
248 x = (x >> 16) ^ x; in zend_jit_hash()
250 x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9; in zend_jit_hash()
251 x = (x ^ (x >> 27)) * 0x94d049bb133111eb; in zend_jit_hash()
252 x = x ^ (x >> 31); in zend_jit_hash()
796 return (x > 0) && !(x & (x - 1)); in zend_long_is_power_of_two()
810 x = (((x >> 4) + x) & 0x0f0f0f0f); in ones32()
811 x += (x >> 8); in ones32()
819 x |= (x >> 1); in floor_log2()
[all …]
/PHP-8.3/Zend/tests/in-de-crement/
H A Ddecrement_diagnostic_change_type.phpt7 global $x;
8 $x = 1;
11 $x = '';
12 $x--;
13 var_dump($x);
/PHP-8.3/ext/pdo_sqlite/tests/
H A Dbug44327_2.phpt10 $x = $db->query('select 1 as queryString');
11 var_dump($x, $x->queryString);
13 $y = $x->fetch();
18 $x = $db->query('select 1 as queryString');
19 var_dump($x, $x->queryString);
21 $y = $x->fetch(PDO::FETCH_LAZY);
/PHP-8.3/ext/pdo/tests/
H A Dpdo_036.phpt9 $x = $instance->newInstance();
10 var_dump($x);
13 $x->queryString = "SELECT 1";
14 var_dump($x);
17 $x->queryString = "SELECT 2";
18 var_dump($x);
24 $x = $instance->newInstance();
25 var_dump($x);
/PHP-8.3/ext/standard/tests/strings/
H A Dvprintf_variation14_64bit.phpt18 '%x %+x %-x
19 %lx %4x %-4x
20 %10.4x %-10.4x %.4x
21 %\'#2x %\'2x %\'$2x %\'_2x
22 %3$x %4$x %1$x %2$x';
/PHP-8.3/ext/spl/tests/SplFileObject/
H A Dbug46053.phpt6 $x = new splfileobject(__FILE__);
7 $x->getPathName();
8 $x->seek(10);
9 $x->seek(0);
10 var_dump(trim($x->fgets()));
/PHP-8.3/ext/opcache/tests/jit/
H A Dfetch_dim_r_001.phpt14 $a = array(1,2,3,""=>4,"ab"=>5,"2x"=>6);
24 $x = "a";
26 var_dump($a[$x . $y]);
27 var_dump($a["2x"]);
28 $x = "2";
29 $y = "x";
30 var_dump($a[$x . $y]);
/PHP-8.3/ext/simplexml/tests/
H A Dbug46003.phpt17 $x = simplexml_load_string($xml);
19 var_dump(isset($x->p));
20 var_dump(isset($x->p->o));
21 var_dump(isset($x->o->yy));
22 var_dump(isset($x->o->zz));
23 var_dump(isset($x->o->text));
24 var_dump(isset($x->o->xx));
/PHP-8.3/Zend/tests/type_declarations/
H A Dtyped_properties_081.phpt7 public int $x = 42;
11 $x =& $test->x;
15 $x = "foo";
17 var_dump($test2->x);
21 Cannot assign string to reference held by property Test::$x of type int
/PHP-8.3/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 …]
/PHP-8.3/Zend/tests/generators/
H A Daborted_yield_during_nested_fcalls.phpt8 function gen($x) {
9 func(func($x, $x, func($x, yield)));
12 $gen = gen("x");
/PHP-8.3/scripts/dev/
H A Dbless_tests.php187 $x = $v[$k+1];
189 $x = $v[$k-1] + 1;
192 $y = $x - $k;
193 while ($x < $n && $y < $m && ($this->isEqual)($a[$x], $b[$y])) {
194 $x++;
198 $v[$k] = $x;
199 if ($x >= $n && $y >= $m) {
211 $k = $x - $y;
224 $x--;
232 while ($x > $prevX) {
[all …]

Completed in 40 milliseconds

12345678910>>...72