/PHP-7.4/Zend/tests/type_declarations/variance/ |
H A D | abstract_constructor.phpt | 8 abstract function __construct(X $x); 11 function __construct(object $x) {} 14 function __construct(Y $x) {} 18 Fatal error: Could not check compatibility between C::__construct(Y $x) and A::__construct(X $x), b…
|
/PHP-7.4/ext/gmp/tests/ |
H A D | 002.phpt | 7 function fact($x) { 8 if($x <= 1) 11 return gmp_mul($x,fact($x-1));
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | bug27278.phpt | 12 $x="02"; 13 var_dump($x); 14 foo($x); 15 var_dump($x);
|
/PHP-7.4/Zend/tests/ |
H A D | unset_cv03.phpt | 5 $x = "ok\n"; 6 echo $x; 8 echo $x; 13 Notice: Undefined variable: x in %sunset_cv03.php on line %d
|
H A D | unset_cv04.phpt | 6 $x = "ok\n"; 7 echo $x; 9 echo $x; 16 Notice: Undefined variable: x in %sunset_cv04.php on line %d
|
H A D | temporary_cleaning_001.phpt | 11 $x = 2; 13 while ($x-- && new stdClass) { 14 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
|
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 | bug46106.phpt | 11 function test($x) { 14 $x->invokeArgs(array(0)); 17 $x = new ReflectionFunction('str_pad'); 18 test($x);
|
H A D | bug73181.phpt | 6 function x() { 7 parse_str("1&x"); 11 x(); 19 ["x"]=>
|
H A D | bug80194.phpt | 6 function test($x) { 7 switch ($x->y) { 16 $x = (object)['y' => 'foobar']; 17 var_dump(test($x));
|
/PHP-7.4/ext/tokenizer/tests/ |
H A D | token_get_all_TOKEN_PARSE_001.phpt | 10 $x->$continue; 12 $x->continue(); 14 $x->__halt_compiler(); 18 public $x = self::CONTINUE + 1; 44 L4: T_VARIABLE $x 54 L6: T_VARIABLE $x 64 L8: T_VARIABLE $x 79 L12: T_VARIABLE $x
|
/PHP-7.4/ext/ffi/tests/ |
H A D | 003.phpt | 11 struct _a {int x;}; 13 struct _b {int x;}; 17 struct _c {int x;}; 19 struct _d {int x;}; 46 ["x"]=> 50 ["x"]=> 54 ["x"]=> 58 ["x"]=>
|
/PHP-7.4/ext/openssl/tests/ |
H A D | openssl_spki_new_basic.phpt | 42 return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff),
|
/PHP-7.4/ext/intl/tests/ |
H A D | spoofchecker_003.phpt | 10 $x = new Spoofchecker(); 13 $x->setAllowedLocales('en_US'); 14 var_dump($x->isSuspicious($korean)); 18 $x->setAllowedLocales('en_US, ko_KR'); 19 var_dump($x->isSuspicious($korean));
|
H A D | spoofchecker_004.phpt | 11 $x = new Spoofchecker(); 13 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 14 var_dump($x->areConfusable("hello", "h\xD0\xB5llo")); 17 $x->setChecks(Spoofchecker::MIXED_SCRIPT_CONFUSABLE | 20 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 21 var_dump($x->areConfusable("hello", "h\xD0\xB5llo"));
|
H A D | spoofchecker_005.phpt | 11 $x = new Spoofchecker(); 13 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 14 var_dump($x->areConfusable("hello", "h\xD0\xB5llo")); 17 $x->setChecks(Spoofchecker::MIXED_SCRIPT_CONFUSABLE | 20 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 21 var_dump($x->areConfusable("hello", "h\xD0\xB5llo"));
|
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-7.4/ext/filter/tests/ |
H A D | 048.phpt | 25 $s = sprintf("%x", PHP_INT_MAX); 26 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)))); 29 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)))); 31 $s = sprintf("%x", ~0); 32 var_dump(is_long(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)))); 35 var_dump(filter_var('0x'.$s, FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX)));
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gd_color_match.c | 15 int x,y; in gdImageColorMatch() local 34 for (x=0; x<im1->sx; x++) { in gdImageColorMatch() 36 color = im2->pixels[y][x]; in gdImageColorMatch() 37 rgb = im1->tpixels[y][x]; in gdImageColorMatch()
|
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-7.4/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
|
/PHP-7.4/ext/json/tests/ |
H A D | 008.phpt | 8 $x = json_decode($json); 9 var_dump($x->largenum); 10 $x = json_decode($json, false, 512, JSON_BIGINT_AS_STRING); 11 var_dump($x->largenum);
|
/PHP-7.4/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-7.4/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-7.4/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");
|