Home
last modified time | relevance | path

Searched refs:x (Results 201 – 225 of 1404) sorted by relevance

12345678910>>...57

/PHP-7.4/Zend/tests/type_declarations/variance/
H A Dabstract_constructor.phpt8 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 D002.phpt7 function fact($x) {
8 if($x <= 1)
11 return gmp_mul($x,fact($x-1));
/PHP-7.4/ext/standard/tests/strings/
H A Dbug27278.phpt12 $x="02";
13 var_dump($x);
14 foo($x);
15 var_dump($x);
/PHP-7.4/Zend/tests/
H A Dunset_cv03.phpt5 $x = "ok\n";
6 echo $x;
8 echo $x;
13 Notice: Undefined variable: x in %sunset_cv03.php on line %d
H A Dunset_cv04.phpt6 $x = "ok\n";
7 echo $x;
9 echo $x;
16 Notice: Undefined variable: x in %sunset_cv04.php on line %d
H A Dtemporary_cleaning_001.phpt11 $x = 2;
13 while ($x-- && new stdClass) {
14 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
H A Dunset_cv11.phpt5 $x = array("default"=>"ok");
6 var_dump($x);
7 $cf = $x;
9 var_dump($x);
H A Dbug46106.phpt11 function test($x) {
14 $x->invokeArgs(array(0));
17 $x = new ReflectionFunction('str_pad');
18 test($x);
H A Dbug73181.phpt6 function x() {
7 parse_str("1&x");
11 x();
19 ["x"]=>
H A Dbug80194.phpt6 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 Dtoken_get_all_TOKEN_PARSE_001.phpt10 $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 D003.phpt11 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 Dopenssl_spki_new_basic.phpt42 return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff),
/PHP-7.4/ext/intl/tests/
H A Dspoofchecker_003.phpt10 $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 Dspoofchecker_004.phpt11 $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 Dspoofchecker_005.phpt11 $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 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-7.4/ext/filter/tests/
H A D048.phpt25 $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 Dgd_color_match.c15 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 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-7.4/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
/PHP-7.4/ext/json/tests/
H A D008.phpt8 $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 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-7.4/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-7.4/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");

Completed in 54 milliseconds

12345678910>>...57