Home
last modified time | relevance | path

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

12345678910>>...57

/PHP-7.4/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-7.4/Zend/tests/
H A Dunset_cv01.phpt5 $x = "ok\n";
6 echo $x;
7 unset($x);
8 echo $x;
13 Notice: Undefined variable: x in %sunset_cv01.php on line %d
H A Dns_073.phpt8 $x = function (\stdclass $x = NULL) {
9 var_dump($x);
12 $x(NULL);
13 $x(new \stdclass);
H A Dunset_cv02.phpt5 $x = "ok\n";
6 echo $x;
7 unset($GLOBALS["x"]);
8 echo $x;
13 Notice: Undefined variable: x in %sunset_cv02.php on line %d
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 Dclosure_018.phpt7 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 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 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 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 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 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 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 Dbug48533.phpt24 $x = new foo;
25 $x->a();
26 $x->b();
27 $x->c();
28 $x::a();
29 $x::b();
30 $x::c();
/PHP-7.4/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-7.4/ext/intl/locale/
H A Dlocale.c40 #define LOCALE_EXPOSE_CONST(x) REGISTER_LONG_CONSTANT(#x, x, CONST_PERSISTENT | CONST_CS) in locale_register_constants() argument
41 …#define LOCALE_EXPOSE_CLASS_CONST(x) zend_declare_class_constant_long( Locale_ce_ptr, ZEND_STRS( # in locale_register_constants() argument
/PHP-7.4/ext/intl/normalizer/
H A Dnormalizer.c40 #define NORMALIZER_EXPOSE_CONST(x) REGISTER_LONG_CONSTANT(#x, x, CONST_PERSISTENT | CONST_CS) in normalizer_register_constants() argument
41 … NORMALIZER_EXPOSE_CLASS_CONST(x) zend_declare_class_constant_long( Normalizer_ce_ptr, ZEND_STRS( … in normalizer_register_constants() argument
/PHP-7.4/ext/intl/tests/
H A Dbug48227.phpt8 $x = new NumberFormatter('en_US', NumberFormatter::DECIMAL);
9 var_dump($x->format(''));
10 var_dump($x->format(1));
11 var_dump($x->format(NULL));
12 var_dump($x->format($x));
/PHP-7.4/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));
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-7.4/ext/reflection/tests/
H A DReflectionClass_getModifierNames_basic.phpt12 class x
67 string(14) "x::__construct"
72 string(13) "x::__destruct"
77 string(4) "x::a"
82 string(4) "x::b"
89 string(4) "x::c"
94 string(4) "x::d"
101 string(4) "x::e"
106 string(4) "x::f"
113 string(4) "x::g"
[all …]
/PHP-7.4/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-7.4/ext/dba/libcdb/
H A Dcdb_make.c147 struct cdb_hplist *x; in cdb_make_finish() local
153 for (x = c->head; x; x = x->next) { in cdb_make_finish()
154 i = x->num; in cdb_make_finish()
156 ++c->count[255 & x->hp[i].h]; in cdb_make_finish()
186 for (x = c->head; x; x = x->next) { in cdb_make_finish()
187 i = x->num; in cdb_make_finish()
189 c->split[--c->start[255 & x->hp[i].h]] = x->hp[i]; in cdb_make_finish()
224 for (x = c->head; x; c->head = x) { in cdb_make_finish()
225 x = x->next; in cdb_make_finish()
/PHP-7.4/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-7.4/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));

Completed in 51 milliseconds

12345678910>>...57