Home
last modified time | relevance | path

Searched refs:x (Results 226 – 250 of 1557) sorted by relevance

12345678910>>...63

/PHP-8.0/Zend/tests/
H A Dunset_cv11.phpt5 $x = array("default"=>"ok");
6 var_dump($x);
7 $cf = $x;
9 var_dump($x);
H A Dbug80194.phpt6 function test($x) {
7 switch ($x->y) {
16 $x = (object)['y' => 'foobar'];
17 var_dump(test($x));
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');
/PHP-8.0/ext/intl/tests/
H A Dspoofchecker_007.phpt14 $x = new Spoofchecker();
15 $x->setRestrictionLevel(Spoofchecker::HIGHLY_RESTRICTIVE);
18 var_dump($x->isSuspicious($mixed));
20 $x->setRestrictionLevel(Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE);
23 var_dump($x->isSuspicious($mixed));
/PHP-8.0/ext/reflection/tests/
H A DReflectionMethod_getDocComment_property_list.phpt14 $x = "x",
21 $reflection = new ReflectionProperty('\X', 'x');
22 echo 'X::x', PHP_EOL;
34 X::x
H A Dbug51911.phpt8 public function x($x = array(1)) {}
12 $method = $clazz->getMethod('x');
20 $x : array (
/PHP-8.0/ext/opcache/tests/jit/
H A Dinc_005.phpt15 $x = 1;
16 $x += 0;
17 var_dump(++$x); // mem -> mem, mem
18 var_dump($x);
H A Dinc_013.phpt15 $x = 1.0;
16 $x += 0;
17 var_dump(++$x); // mem -> mem, mem
18 var_dump($x);
H A Dfetch_dim_r_003.phpt28 $x = "a";
31 var_dump($a[$x . $y]);
35 var_dump($a["2x"]);
36 $x = "2";
37 $y = "x";
38 var_dump($a[$x . $y]);
62 Warning: Illegal string offset "2x" in %sfetch_dim_r_003.php on line 24
65 Warning: Illegal string offset "2x" in %sfetch_dim_r_003.php on line 27
/PHP-8.0/ext/tidy/tests/
H A D028.phpt7 $x = tidy_parse_string("<body><div>Content</div></body>");
8 var_dump($x->body()->child[0]->name);
9 var_dump($x->body()->child[0]->getParent()->name);
10 var_dump($x->root()->getParent());
/PHP-8.0/ext/gd/libgd/
H A Dgd_gd.c168 int x, y; in gdImageCreateFromGdCtx() local
182 for (x = 0; x < sx; x++) { in gdImageCreateFromGdCtx()
187 im->tpixels[y][x] = pix; in gdImageCreateFromGdCtx()
192 for (x = 0; x < sx; x++) { in gdImageCreateFromGdCtx()
199 im->pixels[y][x] = ch; in gdImageCreateFromGdCtx()
249 int x, y; in _gdImageGd() local
254 for (x = 0; x < im->sx; x++) { in _gdImageGd()
257 gdPutInt(im->tpixels[y][x], out); in _gdImageGd()
259 gdPutC((unsigned char) im->pixels[y][x], out); in _gdImageGd()
/PHP-8.0/Zend/tests/type_declarations/union_types/
H A Dincdec_prop.phpt15 $x = $test->prop++;
19 $x = ++$test->prop;
23 $x = $test->prop--;
27 $x = --$test->prop;
33 $x = $test->prop++;
37 $x = ++$test->prop;
42 $x = $test->prop--;
47 $x = --$test->prop;
57 $x = $test->prop2++;
64 $x = ++$test->prop2;
[all …]
/PHP-8.0/ext/pdo_sqlite/tests/
H A Ddebugdumpparams_001.phpt12 $x= $db->prepare('select :a, :b, ?');
13 $x->bindValue(':a', 1, PDO::PARAM_INT);
14 $x->bindValue(':b', 'foo');
15 $x->bindValue(3, 1313);
16 var_dump($x->debugDumpParams());
/PHP-8.0/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);
H A DarrayObject_asort_basic2.phpt12 public $prop1 = 'x';
15 public $prop4 = 'x';
32 string(1) "x"
34 string(1) "x"
43 string(1) "x"
45 string(1) "x"
/PHP-8.0/ext/gd/tests/
H A Dbug66356.phpt12 var_dump(imagecrop($img, array("x" => "a", "y" => 0, "width" => 10, "height" => 10)));
14 $arr = array("x" => "a", "y" => "12b", "width" => 10, "height" => 10);
19 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => -1, "height" => 10)));
22 var_dump(imagecrop($img, array("x" => -20, "y" => -20, "width" => 10, "height" => 10)));
25 var_dump(imagecrop($img, array("x" => 0x7fffff00, "y" => 0, "width" => 10, "height" => 10)));
28 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => 65535, "height" => 65535)));
37 [x] => a
/PHP-8.0/ext/simplexml/tests/
H A Dbug45553.phpt14 $x = simplexml_load_string($xml);
15 $x->registerXPathNamespace("a", "http://a");
17 $atts = $x->xpath("/xml/data/@a:label");
19 $atts = $x->xpath("/xml/a:data");
21 $atts = $x->xpath("/xml/a:data/@a:label");
23 $atts = $x->xpath("/xml/a:data/@label");
25 $atts = $x->xpath("/xml/data/@label");
/PHP-8.0/ext/openssl/tests/
H A Dopenssl_spki_export_basic.phpt44 return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff),
/PHP-8.0/ext/soap/tests/bugs/
H A Dbug32776.phpt12 function test($x) {
14 $d = $x;
35 $x = new LocalSoapClient(__DIR__."/bug32776.wsdl",array("trace"=>true,"exceptions"=>false));
36 var_dump($x->test("Hello"));
38 var_dump($x->__getLastRequest());
39 var_dump($x->__getLastResponse());
46 ….xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><SOAP-ENV:test><x xsi:type="xsd:string">Hello</x></SOA…
/PHP-8.0/ext/session/tests/
H A Dsessionhandler_open_001.phpt9 $x = new SessionHandler;
10 $x->open('','');
11 $x->open('','');
12 $x->open('','');
13 $x->open('','');
/PHP-8.0/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.0/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

Completed in 22 milliseconds

12345678910>>...63