/PHP-7.3/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.3/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 | 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 …]
|
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"
|
/PHP-7.3/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.3/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 | 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_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 | 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_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 | 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++;
|
H A D | exception_010.phpt | 6 $x = new Exception; 7 $x->gettraceasstring(1); 8 $x->gettraceasstring(); 9 $x->__tostring(1); 10 $x->gettrace(1); 11 $x->getline(1); 12 $x->getfile(1); 13 $x->getmessage(1); 14 $x->getcode(1);
|
H A D | temporary_cleaning_005.phpt | 17 $x = 2; 19 while ($x-- && new stdClass) { 20 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 34 $x = 2; 36 while ($x-- && new stdClass) { 37 $r = [$x] + ($y ? ((array) $x) + [2] : ops());
|
H A D | ns_074.phpt | 8 $x = function (\stdclass $x = NULL) { 9 var_dump($x); 14 $x(NULL); 15 $x(new stdclass); 16 $x(new \stdclass);
|
/PHP-7.3/tests/classes/ |
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.3/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.3/Zend/ |
H A D | micro_bench.php | 31 $x = self::$a; 64 $x = $this->b; 127 $x = $this::TEST; 135 $x = Foo::$a; 165 $x = new Foo(); 173 $x = TEST; 179 $x = $_GET; 201 $x = $str[1]; 315 $x = new Foo(); variable 316 $x->read_prop(N); [all …]
|
/PHP-7.3/ext/hash/ |
H A D | hash_sha.c | 172 #define W(i) ( tmp=x[(i-3)&15]^x[(i-8)&15]^x[(i-14)&15]^x[i&15], \ 429 #define ROTR32(b,x) ((x >> b) | (x << (32 - b))) argument 430 #define ROTR64(b,x) ((x >> b) | (x << (64 - b))) argument 438 #define SHA256_F2(x) (ROTR32( 2,(x)) ^ ROTR32(13,(x)) ^ ROTR32(22,(x))) argument 440 #define SHA256_F3(x) (ROTR32( 6,(x)) ^ ROTR32(11,(x)) ^ ROTR32(25,(x))) argument 442 #define SHA256_F4(x) (ROTR32( 7,(x)) ^ ROTR32(18,(x)) ^ SHR( 3,(x))) argument 444 #define SHA256_F5(x) (ROTR32(17,(x)) ^ ROTR32(19,(x)) ^ SHR(10,(x))) argument 696 #define SHA512_F2(x) (ROTR64(28, x) ^ ROTR64(34, x) ^ ROTR64(39, x)) argument 698 #define SHA512_F3(x) (ROTR64(14, x) ^ ROTR64(18, x) ^ ROTR64(41, x)) argument 700 #define SHA512_F4(x) (ROTR64( 1, x) ^ ROTR64( 8, x) ^ SHR(7, x)) argument [all …]
|
/PHP-7.3/ext/pdo/ |
H A D | pdo.php | 6 $x = new PDO("sqlite::memory:"); variable 8 $x->query("create table test(name string, value string)"); 9 debug_zval_dump($x); 11 $stmt = $x->prepare("INSERT INTO test (NAME, VALUE) VALUES (:name, :value)"); 28 foreach ($x->query("select NAME, VALUE from test") as $row) { 40 foreach ($x->query("select NAME, VALUE from test", PDO_FETCH_COLUMN, 1) as $row) { 47 $stmt = $x->prepare("select NAME, VALUE from test where value like ?");
|
/PHP-7.3/ext/intl/dateformat/ |
H A D | dateformat.c | 37 #define DATEFORMATTER_EXPOSE_CONST(x) REGISTER_LONG_CONSTANT(#x, x, CONST_PERSISTENT | CONST_CS) in dateformat_register_constants() argument 38 …EFORMATTER_EXPOSE_CLASS_CONST(x) zend_declare_class_constant_long( IntlDateFormatter_ce_ptr, ZEND_… in dateformat_register_constants() argument 41 …ATTER_EXPOSE_UCAL_CLASS_CONST(x) zend_declare_class_constant_long( IntlDateFormatter_ce_ptr, ZEND_… in dateformat_register_constants() argument
|
/PHP-7.3/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
|
/PHP-7.3/ext/gd/libgd/ |
H A D | gd_filter.c | 18 int x, y; in gdImageNegate() local 31 for (x=0; x<src->sx; ++x) { in gdImageNegate() 51 int x, y; in gdImageGrayScale() local 68 for (x=0; x<src->sx; ++x) { in gdImageGrayScale() 91 int x, y; in gdImageBrightness() local 107 for (x=0; x<src->sx; ++x) { in gdImageBrightness() 136 int x, y; in gdImageContrast() local 153 for (x=0; x<src->sx; ++x) { in gdImageContrast() 208 for (x=0; x<src->sx; ++x) { in gdImageColor() 265 for(x=0; x<src->sx; x++) { in gdImageConvolution() [all …]
|
/PHP-7.3/ext/simplexml/tests/ |
H A D | bug42369.phpt | 8 $x = simplexml_load_string($xml . "<q><x>foo</x></q>"); 12 md5(strval($x->x)); 17 md5($x->x);
|