Home
last modified time | relevance | path

Searched refs:x (Results 301 – 325 of 1790) sorted by relevance

1...<<11121314151617181920>>...72

/PHP-8.3/Zend/tests/
H A Dindirect_property_access.phpt7 public $x = 1;
14 $x = 'bar';
19 var_dump((new $x)->y); // foo
20 var_dump((new $bar->y)->x); // 1
H A Dns_035.phpt8 function f1($x = ArrayObject::STD_PROP_LIST) {
9 var_dump($x);
11 function f2($x = \ArrayObject::STD_PROP_LIST) {
12 var_dump($x);
H A Dabstract_inheritance_003.phpt6 abstract class A { abstract function bar($x, $y = 0); }
7 abstract class B extends A { abstract function bar($x); }
12 Fatal error: Declaration of B::bar($x) must be compatible with A::bar($x, $y = 0) in %s
H A Dbug50174.phpt11 function x() {}
14 $rm = new ReflectionMethod('TestClass', 'x');
22 public $x;
25 $rp = new ReflectionProperty('TestClass2', 'x');
H A Dunset_cv06.phpt11 $_SESSION['x'] = "1\n";
12 echo $_SESSION['x'];
15 echo $_SESSION['x'];
21 Warning: Undefined array key "x" in %s on line %d
H A Dunset_cv10.phpt7 $x = "ok\n";
8 echo $x;
9 $a->offsetUnset('x');
10 echo $x;
H A Dfirst_class_callable_dynamic.phpt7 public static function b($x) {
8 return $x;
11 public function c($x) {
12 return $x;
18 var_dump($fn('x'));
/PHP-8.3/ext/spl/tests/
H A Dfixedarray_008.phpt15 foreach ($a as $x) {
16 if (is_object($x)) {
17 var_dump($x[0]);
19 var_dump($x);
/PHP-8.3/ext/xmlreader/tests/
H A Dbug64230.phpt19 $x = new XMLReader;
20 $x->xml("<root att/>");
21 $x->read();
28 $x = new XMLReader;
29 $x->xml("<root att/>");
30 $x->read();
/PHP-8.3/ext/gd/tests/
H A Dbug53156.phpt13 function draw_and_check_pixel($x, $y)
17 echo (imagecolorat($img, $x, $y) === $black) ? '+' : '-';
18 imagesetpixel($img, $x, $y, $red);
27 $x = ($x1 + $x2) / 2;
29 draw_and_check_pixel($x, $y1);
31 draw_and_check_pixel($x, $y2);
/PHP-8.3/ext/standard/tests/strings/
H A Dvprintf_basic9.phpt9 $format1 = "%x";
10 $format2 = "%x %x";
11 $format3 = "%x %x %x";
H A Dvfprintf_basic9.phpt9 $format1 = "%x";
10 $format2 = "%x %x";
11 $format3 = "%x %x %x";
/PHP-8.3/ext/standard/tests/assert/
H A Dbug80290.phpt10 $x = 'x';
11 assert(false, 'Dynamic message: ' . $x);
18 string(18) "Dynamic message: x"
20 Fatal error: Uncaught AssertionError: Dynamic message: x in %s:%d
/PHP-8.3/ext/reflection/tests/
H A Dbug51911.phpt8 public function x($x = array(1)) {}
12 $method = $clazz->getMethod('x');
20 $x : array (
H A Dbug38465.phpt11 public function x($a = self::X, $b = Baz::B, $c = 99) {}
54 Foo::x($a = 1)
55 Foo::x($b = 3)
56 Foo::x($c = 99)
62 Foo::x($a = 1)
63 Foo::x($b = 3)
64 Foo::x($c = 99)
/PHP-8.3/Zend/tests/named_params/
H A Dctor_extra_named_args.phpt9 new stdClass(x: "nope");
15 new Test(x: "nope");
22 Unknown named parameter $x
23 Unknown named parameter $x
/PHP-8.3/ext/date/tests/
H A Ddate_time_immutable-inherited.phpt12 $x = $v->getTimezone();
13 var_dump($x->getName());
17 $x = $v->getTimestamp();
18 var_dump($x);
/PHP-8.3/ext/soap/tests/SoapFault/
H A Dgh14586.phpt7 $sf = new SoapFault(null, "x");
8 $sf->__construct(null, "x");
12 $sf->__construct(null, "x", headerFault: []);
14 $sf->__construct(null, "x");
/PHP-8.3/ext/opcache/tests/
H A Dbug77434.phpt12 function test(int $x) {
13 $a = ['a' => 0, 'b' => $x];
19 function test2(int $x) {
20 $a = ['a' => 0, 'b' => $x];
/PHP-8.3/ext/opcache/tests/jit/
H A Dassign_047.phpt12 $x = (object)['x'=>0];
15 $a=$x->x;
H A Dinc_022.phpt14 function inc($x) {
15 return ++$x;
17 function dec($x) {
18 return --$x;
/PHP-8.3/tests/lang/
H A Dbug7515.phpt14 $x=ob_get_contents();
23 if ($x == $y) {
27 x=$x
/PHP-8.3/ext/sodium/tests/
H A Dexception_trace_without_args.phpt8 function do_memzero($x) {
9 sodium_memzero($x);
12 $x = 42;
13 do_memzero($x);
/PHP-8.3/scripts/dev/
H A Dcheck_parameters.php109 foreach ($m as $x) {
111 if (!in_array($x[1], array('else', 'endif', 'return'))) // hack to skip reserved words
112 $ret[$x[4]] = array($x[1] . $x[2] . $x[3], $x[5]);
115 if ($x[6]) {
116 preg_match_all('/(\**)\s*(\w+(?:\[\s*\w*\s*\])?)\s*(=?)/S', $x[6], $y, PREG_SET_ORDER);
118 $ret[$z[2]] = array($x[1] . $z[1], $z[3]);
161 foreach ($m as $x) {
162 $name = $x[2];
174 $ret[] = array($name, $vars[$name][0] . ($x[1] ? '*' : ''), $vars[$name][1]);
178 if ($x[3]) {
/PHP-8.3/ext/soap/tests/
H A Dserver007.phpt7 function Add($x,$y) {
8 return $x+$y;
10 function Sub($x,$y) {
11 return $x-$y;

Completed in 25 milliseconds

1...<<11121314151617181920>>...72