/php-src/Zend/tests/ |
H A D | bug75420.10.phpt | 6 public function offsetExists($x): bool { $GLOBALS["name"] = 24; return true; } 7 public function offsetGet($x): mixed { var_dump($x); return 42; } 8 public function offsetSet($x, $y): void { } 9 public function offsetUnset($x): void { }
|
H A D | bug75420.12.phpt | 6 public function offsetExists($x): bool { $GLOBALS["name"] = 24; return true; } 7 public function offsetGet($x): mixed { var_dump($x); return 42; } 8 public function offsetSet($x, $y): void { } 9 public function offsetUnset($x): void { }
|
H A D | unset_cv03.phpt | 5 $x = "ok\n"; 6 echo $x; 8 echo $x; 13 Warning: Undefined variable $x in %s on line %d
|
/php-src/ext/dom/tests/ |
H A D | gh13863.phpt | 15 <x> 21 </x> 95 <x><item1/><item2/><item4/><item5/></x> 114 <x><item1/><item3/><item4/><item5/></x> 121 <x><item2/><item3/><item4/><item5/></x> 137 <x><item1/><item2/><item4/><item5/></x> 152 <x><item1/><item3/><item4/><item5/></x> 164 <x><item2/><item4/></x>
|
/php-src/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()
|
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()
|
/php-src/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-src/ext/opcache/tests/ |
H A D | fe_fetch_dce.phpt | 14 $x = 1; 15 foreach ($a as $x) { 16 $x = 2.0; 18 var_dump($x);
|
/php-src/ext/opcache/tests/jit/ |
H A D | inc_001.phpt | 14 $x = 1; 15 $x += 0; 16 ++$x; // mem -> mem 17 var_dump($x);
|
H A D | inc_009.phpt | 14 $x = 1.0; 15 $x += 0; 16 ++$x; // mem -> mem 17 var_dump($x);
|
H A D | inc_003.phpt | 14 $x = 1; 15 $x += 0; 16 ++$x; // mem -> reg 17 return $x;
|
H A D | inc_011.phpt | 14 $x = 1.0; 15 $x += 0; 16 ++$x; // mem -> reg 17 return $x;
|
H A D | cmp_009.phpt | 25 $x!= $a ?: $c; 26 $x!= $a ?: $c; 27 $x!= $a ?: $c; 28 $x!= $a ?: $c; 34 $x!= $a ?: $c; 41 $x!= $a ?: $c; 42 $x!= $a ?: $c;
|
H A D | inc_005.phpt | 14 $x = 1; 15 $x += 0; 16 var_dump(++$x); // mem -> mem, mem 17 var_dump($x);
|
/php-src/ext/json/tests/ |
H A D | 008.phpt | 6 $x = json_decode($json); 7 var_dump($x->largenum); 8 $x = json_decode($json, false, 512, JSON_BIGINT_AS_STRING); 9 var_dump($x->largenum);
|
/php-src/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-src/ext/gd/tests/ |
H A D | bug66356.phpt | 10 var_dump(imagecrop($img, array("x" => "a", "y" => 0, "width" => 10, "height" => 10))); 12 $arr = array("x" => "a", "y" => "12b", "width" => 10, "height" => 10); 17 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => -1, "height" => 10))); 20 var_dump(imagecrop($img, array("x" => -20, "y" => -20, "width" => 10, "height" => 10))); 23 var_dump(imagecrop($img, array("x" => 0x7fffff00, "y" => 0, "width" => 10, "height" => 10))); 26 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => 65535, "height" => 65535))); 35 [x] => a
|
/php-src/ext/intl/tests/ |
H A D | spoofchecker_004.phpt | 13 $x = new Spoofchecker(); 15 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 16 var_dump($x->areConfusable("hello", "h\xD0\xB5llo")); 19 $x->setChecks(Spoofchecker::MIXED_SCRIPT_CONFUSABLE | 22 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 23 var_dump($x->areConfusable("hello", "h\xD0\xB5llo"));
|
H A D | spoofchecker_005.phpt | 13 $x = new Spoofchecker(); 15 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 16 var_dump($x->areConfusable("hello", "h\xD0\xB5llo")); 19 $x->setChecks(Spoofchecker::MIXED_SCRIPT_CONFUSABLE | 22 var_dump($x->areConfusable("HELLO", "H\xD0\x95LLO")); 23 var_dump($x->areConfusable("hello", "h\xD0\xB5llo"));
|
H A D | spoofchecker_003.phpt | 12 $x = new Spoofchecker(); 15 $x->setAllowedLocales('en_US'); 16 var_dump($x->isSuspicious($korean)); 20 $x->setAllowedLocales('en_US, ko_KR'); 21 var_dump($x->isSuspicious($korean));
|
/php-src/ext/opcache/tests/opt/ |
H A D | inference_001.phpt | 11 $obj->x; 18 public int $x = 1; 23 $obj->x; 33 Warning: Attempt to read property "x" on null in %s on line %d 35 Warning: Undefined property: stdClass::$x in %s on line %d 39 Warning: Attempt to read property "x" on null in %s on line %d
|
/php-src/ext/standard/tests/strings/ |
H A D | vsprintf_basic9.phpt | 9 $format1 = "%x"; 10 $format2 = "%x %x"; 11 $format3 = "%x %x %x";
|
H A D | bug27278.phpt | 12 $x="02"; 13 var_dump($x); 14 foo($x); 15 var_dump($x);
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | debugdumpparams_001.phpt | 10 $x= $db->prepare('select :a, :b, ?'); 11 $x->bindValue(':a', 1, PDO::PARAM_INT); 12 $x->bindValue(':b', 'foo'); 13 $x->bindValue(3, 1313); 14 var_dump($x->debugDumpParams());
|
/php-src/Zend/tests/readonly_props/ |
H A D | promotion.phpt | 8 public readonly float $x = 0.0, 17 $point->x = 4.0; 26 ["x"]=> 33 Cannot modify readonly property Point::$x 35 ["x"]=>
|