/PHP-8.0/Zend/tests/ |
H A D | unset_cv11.phpt | 5 $x = array("default"=>"ok"); 6 var_dump($x); 7 $cf = $x; 9 var_dump($x);
|
H A D | bug80194.phpt | 6 function test($x) { 7 switch ($x->y) { 16 $x = (object)['y' => 'foobar']; 17 var_dump(test($x));
|
H A D | indirect_property_access.phpt | 7 public $x = 1; 14 $x = 'bar'; 19 var_dump((new $x)->y); // foo 20 var_dump((new $bar->y)->x); // 1
|
H A D | ns_035.phpt | 8 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 D | abstract_inheritance_003.phpt | 6 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 D | bug50174.phpt | 11 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 D | spoofchecker_007.phpt | 14 $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 D | ReflectionMethod_getDocComment_property_list.phpt | 14 $x = "x", 21 $reflection = new ReflectionProperty('\X', 'x'); 22 echo 'X::x', PHP_EOL; 34 X::x
|
H A D | bug51911.phpt | 8 public function x($x = array(1)) {} 12 $method = $clazz->getMethod('x'); 20 $x : array (
|
/PHP-8.0/ext/opcache/tests/jit/ |
H A D | inc_005.phpt | 15 $x = 1; 16 $x += 0; 17 var_dump(++$x); // mem -> mem, mem 18 var_dump($x);
|
H A D | inc_013.phpt | 15 $x = 1.0; 16 $x += 0; 17 var_dump(++$x); // mem -> mem, mem 18 var_dump($x);
|
H A D | fetch_dim_r_003.phpt | 28 $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 D | 028.phpt | 7 $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 D | gd_gd.c | 168 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 D | incdec_prop.phpt | 15 $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 D | debugdumpparams_001.phpt | 12 $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 D | fixedarray_008.phpt | 15 foreach ($a as $x) { 16 if (is_object($x)) { 17 var_dump($x[0]); 19 var_dump($x);
|
H A D | arrayObject_asort_basic2.phpt | 12 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 D | bug66356.phpt | 12 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 D | bug45553.phpt | 14 $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 D | openssl_spki_export_basic.phpt | 44 return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff),
|
/PHP-8.0/ext/soap/tests/bugs/ |
H A D | bug32776.phpt | 12 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 D | sessionhandler_open_001.phpt | 9 $x = new SessionHandler; 10 $x->open('',''); 11 $x->open('',''); 12 $x->open('',''); 13 $x->open('','');
|
/PHP-8.0/ext/date/tests/ |
H A D | date_time_immutable-inherited.phpt | 12 $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 D | ctor_extra_named_args.phpt | 9 new stdClass(x: "nope"); 15 new Test(x: "nope"); 22 Unknown named parameter $x 23 Unknown named parameter $x
|