Home
last modified time | relevance | path

Searched refs:x (Results 326 – 350 of 1819) sorted by relevance

1...<<11121314151617181920>>...73

/php-src/ext/opcache/tests/jit/
H A Dinc_022.phpt13 function inc($x) {
14 return ++$x;
16 function dec($x) {
17 return --$x;
H A Dbw_not_001.phpt10 $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 Dgh8461-001.inc3 $x = 0;
11 global $x;
12 $x += self::A;
H A Dgh8461-002.inc3 $x = 0;
11 global $x;
12 $x += self::A;
/php-src/scripts/dev/
H A Dcheck_parameters.php109 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 Dvfprintf_basic9.phpt9 $format1 = "%x";
10 $format2 = "%x %x";
11 $format3 = "%x %x %x";
H A Dsprintf_variation54.phpt6 $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 Dfirst_class_callable_dynamic.phpt7 public static function b($x) {
8 return $x;
11 public function c($x) {
12 return $x;
18 var_dump($fn('x'));
H A Dbug46106.phpt11 function test($x) {
14 $x->invokeArgs(array(0));
17 $x = new ReflectionFunction('str_pad');
19 test($x);
H A Dclosure_019.phpt6 $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 Dbug75420.16.phpt6 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 Dbug60139.phpt8 public $x;
11 $this->x = function() {};
16 public $x;
20 $this->x = function() use ($self) {};
/php-src/tests/lang/
H A Dbug7515.phpt14 $x=ob_get_contents();
23 if ($x == $y) {
27 x=$x
/php-src/ext/opcache/tests/
H A Dbug77434.phpt12 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 Dexception_trace_without_args.phpt8 function do_memzero($x) {
9 sodium_memzero($x);
12 $x = 42;
13 do_memzero($x);
/php-src/ext/soap/tests/
H A Dserver007.phpt7 function Add($x,$y) {
8 return $x+$y;
10 function Sub($x,$y) {
11 return $x-$y;
/php-src/ext/intl/tests/
H A Dlocale_lookup_variant3.phpt32 '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 Dlocale_lookup.phpt32 '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 Dlocale_lookup_variant2.phpt32 '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 Dbug79987.phpt9 $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 Dbacktrace.phpt13 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 Drename_dir_and_mount.phpt17 $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 Dgd_intern.h11 #define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x))) argument
/php-src/tests/classes/
H A D__set__get_001.phpt7 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 Drename_dir.phpt21 $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

Completed in 29 milliseconds

1...<<11121314151617181920>>...73