Home
last modified time | relevance | path

Searched refs:x (Results 176 – 200 of 1557) sorted by relevance

12345678910>>...63

/PHP-8.0/Zend/tests/
H A Dbug75420.9.phpt6 public function offsetExists($x) { $GLOBALS["name"] = 24; return true; }
7 public function offsetGet($x) { var_dump($x); return 42; }
8 public function offsetSet($x, $y) { }
9 public function offsetUnset($x) { }
H A Dbug34310.phpt2 Bug #34310 (foreach($arr as $c->d => $x) crashes)
16 foreach($arr as $x => $c->d)
18 echo "{$x} => {$c->d}\n";
22 foreach($arr as $c->d => $x)
24 echo "{$c->d} => {$x}\n";
H A Dbug75420.11.phpt6 public function offsetExists($x) { $GLOBALS["name"] = 24; return true; }
7 public function offsetGet($x) { var_dump($x); return 42; }
8 public function offsetSet($x, $y) { }
9 public function offsetUnset($x) { }
H A Dbug75420.14.phpt6 public function offsetExists($x) { $GLOBALS["obj"] = 24; return true; }
7 public function offsetGet($x) { var_dump($x); return 42; }
8 public function offsetSet($x, $y) { }
9 public function offsetUnset($x) { }
H A Dbug35470.phpt5 $x = array("test", "55");
6 global ${$x[0]};
7 ${$x[0]} = $x[1];
H A Dbug75420.10.phpt6 public function offsetExists($x) { $GLOBALS["name"] = 24; return true; }
7 public function offsetGet($x) { var_dump($x); return 42; }
8 public function offsetSet($x, $y) { }
9 public function offsetUnset($x) { }
H A Dbug75420.12.phpt6 public function offsetExists($x) { $GLOBALS["name"] = 24; return true; }
7 public function offsetGet($x) { var_dump($x); return 42; }
8 public function offsetSet($x, $y) { }
9 public function offsetUnset($x) { }
H A Dobjects_021.phpt14 return x();
18 return x();
22 return x();
26 function x() {
30 x()
H A Ddynamic_call_to_ref_returning_function.phpt8 function &retRef($x) {
9 return $x;
15 $closure = function &($x) {
16 return $x;
24 function &method($x) {
25 return $x;
/PHP-8.0/Zend/tests/generators/
H A Diterator_wrapper_leak.phpt14 foreach ($this->gen1 as $x) {
15 echo "$x\n";
16 yield $x;
20 foreach ($this->gen2 as $x) {
21 if ($x == 2) {
/PHP-8.0/ext/standard/tests/strings/
H A Dstr_replace_array_refs2.phpt17 $obj->prop = ['x' => 'property'];
18 $obj->prop = $closure($obj->prop, ['x'], 'a');
19 var_dump(str_replace(array_keys($obj->prop), $obj->prop, "x property"));
21 $array = ['x' => 'property'];
22 $array = $closure($array, ['x'], 'a');
23 var_dump(str_replace(array_keys($array), $array, "x property"));
/PHP-8.0/ext/spl/tests/
H A DarrayObject_setFlags_basic2.phpt6 private $x = 'secret';
9 var_dump($c->x);
13 $c = new C(array('x'=>'public'));
17 var_dump($c->x);
22 var_dump($c->x);
29 Fatal error: Uncaught Error: Cannot access private property C::$x in %s:19
/PHP-8.0/Zend/tests/type_declarations/union_types/
H A Dprop_ref_assign.phpt7 public int|string $x;
13 $test->x =& $r;
32 unset($r, $test->x, $test->y);
34 $test->x = 42;
36 $test->y =& $test->x;
41 unset($test->x, $test->y);
45 $test->x =& $test->y;
52 Cannot assign int to reference held by property Test::$x of type string|int and property Test::$y o…
55 Cannot assign float to reference held by property Test::$x of type string|int and property Test::$y…
58 Reference with value of type int held by property Test::$x of type string|int is not compatible wit…
[all …]
/PHP-8.0/ext/gd/tests/
H A Dbug79615.phpt10 for ($x = 0; $x < 3; $x++) {
12 imagesetpixel($im, $x, $y, imagecolorallocate($im, $x, $y, 0));
H A Dbug49600.phpt17 $x = imagettftext($image, 32, 0, 0, 0, $color, $font, $c);
19 if ( abs($x[0] - $y[0]) > 1
20 || abs($x[2] - $y[2]) > 1
21 || abs($x[4] - $y[4]) > 1
22 || abs($x[6] - $y[6]) > 1 ) {
24 var_dump($x);
/PHP-8.0/ext/standard/
H A Dexec.c284 register size_t x, y; in php_escape_shell_cmd() local
300 for (x = 0, y = 0; x < l; x++) { in php_escape_shell_cmd()
301 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_cmd()
309 x += mb_len - 1; in php_escape_shell_cmd()
313 switch (str[x]) { in php_escape_shell_cmd()
317 if (!p && (p = memchr(str + x + 1, str[x], l - x - 1))) { in php_escape_shell_cmd()
390 size_t x, y = 0; in php_escape_shell_arg() local
409 for (x = 0; x < l; x++) { in php_escape_shell_arg()
410 int mb_len = php_mblen(str + x, (l - x)); in php_escape_shell_arg()
418 x += mb_len - 1; in php_escape_shell_arg()
[all …]
/PHP-8.0/ext/opcache/tests/
H A Dfe_fetch_dce.phpt12 $x = 1;
13 foreach ($a as $x) {
14 $x = 2.0;
16 var_dump($x);
/PHP-8.0/ext/pcre/tests/
H A Dbug73612.phpt7 preg_match('/./', 'x', $obj);
11 preg_replace('/./', '', 'x', -1, $obj);
15 preg_replace_callback('/./', 'count', 'x', -1, $obj);
19 preg_replace_callback_array(['/./' => 'count'], 'x', -1, $obj);
23 preg_filter('/./', '', 'x', -1, $obj);
/PHP-8.0/ext/standard/tests/math/
H A Dmt_rand_value.phpt13 $x = 0;
15 $x ^= mt_rand();
17 echo $x.PHP_EOL;
27 $x = 0;
29 $x ^= mt_rand();
31 echo $x.PHP_EOL;
/PHP-8.0/ext/intl/collator/
H A Dcollator.c39 #define COLLATOR_EXPOSE_CONST(x) REGISTER_LONG_CONSTANT(#x, x, CONST_PERSISTENT | CONST_CS) in collator_register_constants() argument
40 …define COLLATOR_EXPOSE_CLASS_CONST(x) zend_declare_class_constant_long( Collator_ce_ptr, ZEND_STRS… in collator_register_constants() argument
/PHP-8.0/ext/oci8/tests/
H A Dbug44206.phpt15 for ($x = 0; $x < 400; $x++)
17 $stmt = "select cursor (select $x from dual) a,
18 cursor (select $x from dual) b
23 echo "Exiting $x\n";
37 echo "Completed $x\n";
/PHP-8.0/ext/simplexml/tests/
H A Dfeature55218.phpt11 $x = new SimpleXMLElement(
27 var_dump ( $x->getDocNamespaces(true) ) ;
28 var_dump( $x->person[0]->getDocNamespaces(true) );
29 var_dump( $x->person[1]->getDocNamespaces(true) );
33 var_dump( $x->getDocNamespaces(false) );
34 var_dump( $x->person[0]->getDocNamespaces(false) );
35 var_dump( $x->person[1]->getDocNamespaces(false) );
40 var_dump ( $x->getDocNamespaces(true, false) ) ;
41 var_dump( $x->person[0]->getDocNamespaces(true, false) );
42 var_dump( $x->person[1]->getDocNamespaces(true, false) );
[all …]
/PHP-8.0/ext/json/tests/
H A D008.phpt6 $x = json_decode($json);
7 var_dump($x->largenum);
8 $x = json_decode($json, false, 512, JSON_BIGINT_AS_STRING);
9 var_dump($x->largenum);
/PHP-8.0/ext/gmp/tests/
H A D002.phpt7 function fact($x) {
8 if($x <= 1)
11 return gmp_mul($x,fact($x-1));
/PHP-8.0/ext/xmlwriter/tests/
H A Dbug41287.phpt13 xmlwriter_start_element_ns($xw, 'test', 'test', 'urn:x-test:');
15 xmlwriter_write_element_ns($xw, null, 'bar', 'urn:x-test:', '');
26 $xw->startElementNS('test', 'test', 'urn:x-test:');
28 $xw->writeElementNS(null, 'bar', 'urn:x-test:', '');
36 <test:test xmlns:test="urn:x-test:">
38 <bar xmlns="urn:x-test:"></bar>
43 <test:test xmlns:test="urn:x-test:">
45 <bar xmlns="urn:x-test:"></bar>

Completed in 38 milliseconds

12345678910>>...63