/php-src/ext/opcache/tests/jit/ |
H A D | inc_022.phpt | 13 function inc($x) { 14 return ++$x; 16 function dec($x) { 17 return --$x;
|
H A D | bw_not_001.phpt | 10 $x[~"$x"]*=1; 14 Warning: Undefined variable $x in %sbw_not_001.php on line 2 16 Warning: Undefined variable $x in %sbw_not_001.php on line 2
|
H A D | gh8461-001.inc | 3 $x = 0; 11 global $x; 12 $x += self::A;
|
H A D | gh8461-002.inc | 3 $x = 0; 11 global $x; 12 $x += self::A;
|
/php-src/scripts/dev/ |
H A D | check_parameters.php | 109 foreach ($m as $x) { 111 if (!in_array($x[1], array('else', 'endif', 'return'))) // hack to skip reserved words 112 $ret[$x[4]] = array($x[1] . $x[2] . $x[3], $x[5]); 115 if ($x[6]) { 116 preg_match_all('/(\**)\s*(\w+(?:\[\s*\w*\s*\])?)\s*(=?)/S', $x[6], $y, PREG_SET_ORDER); 118 $ret[$z[2]] = array($x[1] . $z[1], $z[3]); 161 foreach ($m as $x) { 162 $name = $x[2]; 174 $ret[] = array($name, $vars[$name][0] . ($x[1] ? '*' : ''), $vars[$name][1]); 178 if ($x[3]) {
|
/php-src/ext/standard/tests/strings/ |
H A D | vfprintf_basic9.phpt | 9 $format1 = "%x"; 10 $format2 = "%x %x"; 11 $format3 = "%x %x %x";
|
H A D | sprintf_variation54.phpt | 6 $formats = ['s', 'd', 'u', 'f', 'c', 'x']; 185 x with null: 188 x with false: 191 x with true: 194 x with 2: 197 x with 3.5: 200 x with "foo": 203 x with []: 206 x with [1]: 209 x with resource: [all …]
|
/php-src/Zend/tests/ |
H A D | first_class_callable_dynamic.phpt | 7 public static function b($x) { 8 return $x; 11 public function c($x) { 12 return $x; 18 var_dump($fn('x'));
|
H A D | bug46106.phpt | 11 function test($x) { 14 $x->invokeArgs(array(0)); 17 $x = new ReflectionFunction('str_pad'); 19 test($x);
|
H A D | closure_019.phpt | 6 $lambda = function &(&$x) { 7 return $x = $x * $x; 29 Fatal error: Uncaught Error: {closure:%s:%d}(): Argument #1 ($x) could not be passed by reference i…
|
H A D | bug75420.16.phpt | 6 public function offsetExists($x): bool { } 7 public function offsetGet($x): mixed { } 8 public function offsetSet($x, $y): void { $GLOBALS["obj"] = 24; var_dump($this); } 9 public function offsetUnset($x): void { }
|
H A D | bug60139.phpt | 8 public $x; 11 $this->x = function() {}; 16 public $x; 20 $this->x = function() use ($self) {};
|
/php-src/tests/lang/ |
H A D | bug7515.phpt | 14 $x=ob_get_contents(); 23 if ($x == $y) { 27 x=$x
|
/php-src/ext/opcache/tests/ |
H A D | bug77434.phpt | 12 function test(int $x) { 13 $a = ['a' => 0, 'b' => $x]; 19 function test2(int $x) { 20 $a = ['a' => 0, 'b' => $x];
|
/php-src/ext/sodium/tests/ |
H A D | exception_trace_without_args.phpt | 8 function do_memzero($x) { 9 sodium_memzero($x); 12 $x = 42; 13 do_memzero($x);
|
/php-src/ext/soap/tests/ |
H A D | server007.phpt | 7 function Add($x,$y) { 8 return $x+$y; 10 function Sub($x,$y) { 11 return $x-$y;
|
/php-src/ext/intl/tests/ |
H A D | locale_lookup_variant3.phpt | 32 'sl_IT_nedis-a-kirti-x-xyz', 42 'zh-Hant-CN-x-prv1-prv2' 74 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 80 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 86 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 92 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 98 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,…
|
H A D | locale_lookup.phpt | 32 'sl_IT_nedis-a-kirti-x-xyz', 42 'zh-Hant-CN-x-prv1-prv2' 74 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 80 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 86 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 92 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 98 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,…
|
H A D | locale_lookup_variant2.phpt | 32 'sl_IT_nedis-a-kirti-x-xyz', 42 'zh-Hant-CN-x-prv1-prv2' 74 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 80 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 86 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 92 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,… 98 …l_IT_nedis-a-kirti-x-xyz,sl_IT_rozaj,sl_IT_NEDIS_ROJAZ_1901,i-enochian,sgn-CH-de,art-lojban,i-lux,…
|
/php-src/ext/spl/tests/ |
H A D | bug79987.phpt | 9 $x = new BadSplFileInfo(); 14 var_dump($x->getLinkTarget()); 19 var_dump($x->getFilename()); 24 var_dump($x->getExtension()); 29 var_dump($x->getBasename());
|
/php-src/Zend/tests/named_params/ |
H A D | backtrace.phpt | 13 test(1, 2, x: 3, y: 4); 36 ["x"]=> 43 #0 %s(10): test(1, 2, x: 3, y: 4) 59 ["x"]=> 68 #0 %s(%d): test(1, 2, x: 3, y: 4)
|
/php-src/ext/phar/tests/ |
H A D | rename_dir_and_mount.phpt | 17 $files['a/x'] = 'a'; 18 $files['a/b/x'] = 'a'; 25 var_dump(file_exists($pname . '/a/x')); 27 var_dump(file_exists($pname . '/a/b/x')); 33 var_dump(file_exists($pname . '/a/x')); 35 var_dump(file_exists($pname . '/a/b/x')); 39 var_dump(file_exists($pname . '/b/x')); 41 var_dump(file_exists($pname . '/b/b/x'));
|
/php-src/ext/gd/libgd/ |
H A D | gd_intern.h | 11 #define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x))) argument
|
/php-src/tests/classes/ |
H A D | __set__get_001.phpt | 7 public $x = array('a' => 1, 'b' => 2, 'c' => 3); 12 if (isset($this->x[$nm])) { 13 $r = $this->x[$nm]; 25 if (isset($this->x[$nm])) { 26 $this->x[$nm] = $val; 61 ["x"]=>
|
/php-src/ext/phar/tests/tar/ |
H A D | rename_dir.phpt | 21 $files['a/x'] = 'a'; 31 echo file_get_contents($alias . '/a/x') . "\n"; 33 echo file_get_contents($alias . '/b/x') . "\n"; 34 echo file_get_contents($alias . '/a/x') . "\n"; 42 …ning: file_get_contents(phar://%srename_dir.phar.tar/a/x): Failed to open stream: phar error: "a/x…
|