/PHP-7.4/ext/reflection/tests/ |
H A D | bug39067.phpt | 7 private $x; 11 private $x; 15 private $x; 19 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 22 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 25 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 28 private $x; 32 public $x; 36 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
|
/PHP-7.4/Zend/tests/varSyntax/ |
H A D | indirectFcall.phpt | 6 function id($x = 'id') { return $x; } 18 $id = function($x) { return $x; }; 22 (function($x) { return $x; })('id')('var_dump')(8); 24 ($f = function($x = null) use (&$f) { 25 return $x ?: $f; 29 public static function id($x = [__CLASS__, 'id']) { return $x; }
|
/PHP-7.4/tests/classes/ |
H A D | factory_and_singleton_002.phpt | 6 protected $x; 11 static function factory($x) { 22 $this->x = $x; 34 return $this->x; 54 echo "Create x and y\n"; 55 $x = test::factory(1); 59 var_dump($x->get()); 62 echo "Destruct x\n"; 63 $x = NULL; 84 Create x and y [all …]
|
H A D | __set__get_005.phpt | 7 protected $x; 11 if (isset($this->x[$name])) { 12 return $this->x[$name]; 22 $this->x[$name] = $val; 28 protected $x; 32 if (!isset($this->x[$name])) { 33 $this->x[$name] = new Test(); 35 return $this->x[$name]; 40 $this->x[$name] = $val; 57 ["x":protected]=>
|
/PHP-7.4/ext/gd/tests/ |
H A D | bug77198_auto.phpt | 11 function createWhiteImageWithBlackPixelAt($x, $y) 15 imagesetpixel($im, $x, $y, 0x000000); 20 for ($x = 0; $x < 8; $x++) { 21 if (($x == 0 && ($y == 0 || $y == 7)) || ($x == 7 && ($y == 0 || $y == 7))) { 24 $orig = createWhiteImageWithBlackPixelAt($x, $y); 27 printf("Pixel at %d, %d: unexpected NULL crop\n", $x, $y); 31 printf("Pixel at %d, %d: unexpected width (%d)\n", $x, $y, $width); 35 printf("Pixel at %d, %d: unexpected height (%d)\n", $x, $y, $height); 39 printf("Pixel at %d, %d: unexpected color (%d)\n", $x, $y, $color);
|
/PHP-7.4/ext/standard/tests/math/ |
H A D | mt_rand_basic.phpt | 39 for ($x = 0; $x < count($min); $x++) { 41 $res = mt_rand($min[$x], $max[$x]); 43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) { 44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 50 echo "PASSED: range min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 67 for ($x = 0; $x < count($min); $x++) { 69 $res = mt_rand($min[$x], 100); 71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) { 72 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 78 echo "PASSED range min = ", intval($min[$x]), " max = 100\n";
|
H A D | rand_basic.phpt | 39 for ($x = 0; $x < count($min); $x++) { 41 $res = rand($min[$x], $max[$x]); 43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) { 44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 50 echo "PASSED: range min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 67 for ($x = 0; $x < count($min); $x++) { 69 $res = rand($min[$x], 100); 71 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) { 72 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 78 echo "PASSED range min = ", intval($min[$x]), " max = 100\n";
|
/PHP-7.4/tests/lang/ |
H A D | passByReference_008.phpt | 5 function valRef($x, &$y) { 6 var_dump($x, $y); 7 $x = 'changed.x'; 11 function refVal(&$x, $y) { 12 var_dump($x, $y); 13 $x = 'changed.x'; 38 string(9) "changed.x"
|
H A D | func_num_args.004.phpt | 5 function valRef($x, &$y) { 6 var_dump($x, $y); 8 $x = 'changed.x'; 13 function refVal(&$x, $y) { 14 var_dump($x, $y); 16 $x = 'changed.x'; 46 string(9) "changed.x"
|
H A D | execution_order.phpt | 73 $x = 1; 74 $z = $x - ($x++); 79 $x = 1; 80 $z = ($x++) - $x; 85 $x = 1; 86 $z = $x - (++$x); 91 $x = 1; 92 $z = (++$x) - $x; 98 $x = 1; 100 $z = $x - ($x=$y); [all …]
|
/PHP-7.4/Zend/tests/ |
H A D | bug29883.phpt | 5 $x = "bug"; 6 var_dump(isset($x[-10])); 7 var_dump(isset($x[1])); 8 var_dump(isset($x["1"])); 9 var_dump($x[-10])."\n"; 10 var_dump($x[1])."\n"; 11 var_dump($x["1"])."\n";
|
H A D | closure_035.phpt | 6 $x = function () use (&$x) { 7 $h = function () use ($x) { 8 var_dump($x); 14 var_dump($x()); 21 ["x"]=>
|
H A D | temporary_cleaning_004.phpt | 16 $x = 2; 18 while ($x-- && new stdClass) { 19 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 31 $x = 2; 33 while ($x-- && new stdClass) { 34 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
|
H A D | closure_002.phpt | 6 $x = 4; 8 $lambda1 = function () use ($x) { 9 echo "$x\n"; 12 $lambda2 = function () use (&$x) { 13 echo "$x\n"; 18 $x++;
|
H A D | ns_036.phpt | 10 function f1($x = ArrayObject::STD_PROP_LIST) { 11 var_dump($x); 13 function f2($x = \ArrayObject::STD_PROP_LIST) { 14 var_dump($x); 16 function f3($x = \A\ArrayObject::STD_PROP_LIST) { 17 var_dump($x); 19 function f4($x = B\ArrayObject::STD_PROP_LIST) { 20 var_dump($x);
|
H A D | offset_assign.phpt | 2 Crash on $x['x']['y'] += 1 when $x is string 5 $x = "a"; 6 $x['x']['y'] += 1; 11 Warning: Illegal string offset 'x' in %soffset_assign.php on line %d
|
H A D | closure_003.phpt | 7 $x = 4; 9 $lambda1 = function () use ($x) { 10 echo "$x\n"; 13 $lambda2 = function () use (&$x) { 14 echo "$x\n"; 19 $x++;
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gd_filter.c | 71 for (x = 0; x < im->sx; x++) { in gdImageScatterEx() 93 for (x = 0; x < im->sx; x++) { in gdImageScatterEx() 116 int x, y; in gdImageNegate() local 129 for (x=0; x<src->sx; ++x) { in gdImageNegate() 149 int x, y; in gdImageGrayScale() local 166 for (x=0; x<src->sx; ++x) { in gdImageGrayScale() 205 for (x=0; x<src->sx; ++x) { in gdImageBrightness() 251 for (x=0; x<src->sx; ++x) { in gdImageContrast() 306 for (x=0; x<src->sx; ++x) { in gdImageColor() 363 for(x=0; x<src->sx; x++) { in gdImageConvolution() [all …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | vfprintf_variation14.phpt | 23 '%x %+x %-x 24 %lx %Lx %4x %-4x 25 %10.4x %-10.4x %.4x 26 %\'#2x %\'2x %\'$2x %\'_2x 27 %3$x %4$x %1$x %2$x'; 97 1e240 x fffffb2e 4d2 103 1e240 x ff439a5b bc65a5 109 7b x ffffff85 7b 115 1 x 1 1 121 1 x 0 1
|
H A D | vfprintf_variation14_64bit.phpt | 23 '%x %+x %-x 24 %lx %Lx %4x %-4x 25 %10.4x %-10.4x %.4x 26 %\'#2x %\'2x %\'$2x %\'_2x 27 %3$x %4$x %1$x %2$x'; 97 1e240 x fffffffffffffb2e 4d2 103 1e240 x ffffffffff439a5b bc65a5 109 7b x ffffffffffffff85 7b 115 1 x 1 1 121 1 x 0 1
|
/PHP-7.4/ext/pcre/tests/ |
H A D | split.phpt | 7 var_dump(preg_split('/*/', 'x')); 9 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz')); 10 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', -1)); 11 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 0)); 12 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 1)); 13 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 2)); 27 string(1) "x" 35 string(1) "x" 43 string(1) "x" 51 string(8) "x yy,zzz" [all …]
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | typed_properties_071.phpt | 7 public string $x = "x"; 13 $test->x = &$y; 23 ["x"]=> 24 string(1) "x" 28 ["x"]=> 34 ["x"]=>
|
H A D | typed_properties_066.phpt | 7 public float $x = 0.0; 10 $x = new Foo; 11 $y =& $x->x; 13 var_dump($x, 4); /* Optimizer will merge both "4" constants, making it immediately visible */ 18 ["x"]=>
|
/PHP-7.4/ext/ffi/tests/ |
H A D | 040.phpt | 14 $x = FFI::new("int"); 15 $x->cdata = 5; 16 var_dump($x); 17 var_dump(FFI::typeof($x)); 19 $p = FFI::addr($x); 22 var_dump($x); 23 var_dump(FFI::sizeof($x)); 24 var_dump(FFI::alignof($x)); 25 FFI::memset($x, ord("a"), 4); 26 var_dump(FFI::string($x, 4)); [all …]
|
/PHP-7.4/ext/intl/transliterator/ |
H A D | transliterator.c | 38 …#define TRANSLITERATOR_EXPOSE_CONST( x ) REGISTER_LONG_CONSTANT( #x, x, CONST_PERSISTENT | CONST_C… in transliterator_register_constants() argument 39 …RATOR_EXPOSE_CLASS_CONST( x ) zend_declare_class_constant_long( Transliterator_ce_ptr, ZEND_STRS( … in transliterator_register_constants() argument
|