Home
last modified time | relevance | path

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

12345678910>>...73

/php-src/Zend/tests/
H A Dclosure_004.phpt7 $x = 4;
9 $lambda1 = function () use ($x) {
10 echo "$x\n";
13 $lambda2 = function () use (&$x) {
14 echo "$x\n";
15 $x++;
H A Dclosure_035.phpt6 $x = function () use (&$x) {
7 $h = function () use ($x) {
8 var_dump($x);
14 var_dump($x());
27 ["x"]=>
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 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 Dgc_035.phpt9 public $x;
11 unset($this->x);
16 $a->x = [];
17 $a->x[] =& $a->x;
18 $a->x[] = $a;
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 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 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 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 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 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"]=>
/php-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/ext/opcache/tests/jit/
H A Dfetch_dim_r_001.phpt13 $a = array(1,2,3,""=>4,"ab"=>5,"2x"=>6);
23 $x = "a";
25 var_dump($a[$x . $y]);
26 var_dump($a["2x"]);
27 $x = "2";
28 $y = "x";
29 var_dump($a[$x . $y]);
/php-src/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-src/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-src/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 …]

Completed in 23 milliseconds

12345678910>>...73