Home
last modified time | relevance | path

Searched refs:x (Results 376 – 400 of 1819) sorted by relevance

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

/php-src/Zend/tests/
H A Dassign_dim_ref_free.phpt5 var_dump($ary[] = [&$x] = $x);
6 var_dump($x);
H A Dassign_ref_to_overloaded_prop.phpt7 private $x;
9 return $this->x;
15 $test->x =& $y;
16 var_dump($test->x);
H A Dbug42802.phpt27 $x = new bar();
29 test1($x);
30 test2($x);
31 test3($x);
33 test5($x);
/php-src/ext/soap/tests/bugs/
H A Dbug30928.phpt15 function test($x) {
16 return $x;
37 $x = new LocalSoapClient(__DIR__."/bug30928.wsdl",
39 var_dump($x->test(new foo()));
41 $x = new LocalSoapClient(__DIR__."/bug30928.wsdl",
43 var_dump($x->test(new foo()));
/php-src/ext/soap/tests/
H A Dclassmap007.phpt10 public $x;
12 $this->x = $a;
16 public $x;
18 $this->x = $a;
59 [x] => 5
64 [x] => 5
/php-src/ext/standard/tests/general_functions/
H A Dvar_export_basic9.phpt5 $x = new stdClass();
6 $x->{'\'\\'} = 7;
7 echo var_export($x);
/php-src/ext/soap/tests/soap12/
H A Dsoap12-test.inc5 function echoOk($x) {
6 return $x;
33 function echoStruct($x) {
34 return $x;
37 function echoStructArray($x) {
38 return $x;
103 function requiredHeader($x) {
104 $this->header = $x;
/php-src/ext/spl/tests/
H A DSplFixedArray_get_properties_for.phpt7 public $x;
16 $array->x = new SplFixedArray();
36 ["x"]=>
46 ["x"]=>
54 ["x"]=>
69 ["x"]=>
74 O:15:"MySplFixedArray":4:{i:0;O:8:"stdClass":0:{}i:1;O:1:"Y":0:{}s:1:"x";O:13:"SplFixedArray":0:{}s…
82 ["x"]=>
/php-src/ext/standard/tests/array/
H A Dbug71334.phpt14 private function _mySort($x, $y)
16 if (!isset($this->a[$x])) {
17 throw new Exception('Missing X: "' . $x . '"');
24 return $x <=> $y;
H A Dbug42177.phpt28 $x = 'foo';
29 $y =& $x;
30 $a1 = array($x, $y, $x, $y);
31 $a2 = array( 'key1' => $a1, $x, $y );
/php-src/ext/json/tests/
H A Dbug63737.phpt6 $x = json_decode($json);
7 var_dump($x);
8 $x = json_decode($json, false, 512, JSON_BIGINT_AS_STRING);
9 var_dump($x);
H A Dbug81532.phpt11 $b->x = $a;
15 $c->x = [$a];
29 '{"x":{}}'
31 '{"x":[{}]}'
/php-src/ext/reflection/tests/
H A D024.phpt12 $x = new C1();
13 $x->z = 4;
14 $x->p3 = 5;
16 $obj = new ReflectionObject($x);
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_086.phpt14 // $x must be undefined or a non-string type
15 $x = 1;
16 $t->$x = 2;
17 $t->$x--;
/php-src/ext/standard/tests/serialize/
H A Dbug69152.phpt5 $x = unserialize('O:9:"exception":1:{s:16:"'."\0".'Exception'."\0".'trace";s:4:"ryat";}');
6 echo $x;
7 $x = unserialize('O:4:"test":1:{s:27:"__PHP_Incomplete_Class_Name";R:1;}');
8 $x->test();
/php-src/ext/opcache/tests/jit/
H A Dinc_021.phpt17 function inc(int|float $x) {
18 return ++$x;
20 function dec(int|float $x) {
21 return --$x;
H A Dassign_035.phpt24 $x = $arr;
25 unset($x['b'][$closure()]['d']);
27 $x = $arr;
28 $x['a'] = $closure();
/php-src/ext/standard/tests/strings/
H A Dsubstr_int_min.phpt5 var_dump(substr('x', PHP_INT_MIN));
6 var_dump(substr('x', 0, PHP_INT_MIN));
9 string(1) "x"
/php-src/Zend/tests/generators/
H A Daborted_yield_during_switch.phpt6 function gen($x) {
7 switch ($x."y") {
13 $gen = gen("x");
/php-src/ext/gmp/tests/
H A Dbug80560.phpt72 var_dump(gmp_init('0x', 16));
104 $function('0x');
105 echo $function, ' failed with 0x', \PHP_EOL;
122 $function('0x', 1);
123 echo $function, ' failed with 0x', \PHP_EOL;
140 $function('0x', 1);
141 echo $function, ' arg 1 failed with 0x', \PHP_EOL;
156 $function(1, '0x');
174 $function('0x', 1, 1);
190 $function(1, '0x', 1);
[all …]
/php-src/ext/standard/tests/file/
H A D007_variation8.phpt2 Test fopen and fclose() functions - usage variations - "x+" mode
6 /* Test fopen() and fclose(): Opening the file in "x+" mode,
9 checking for the warning msg when trying to open an existing file in "x+" mode,
16 echo "*** Test fopen() & fclose() functions: with 'x+' mode ***\n";
17 $file_handle = fopen($file, "x+"); //opening the non-existing file in "x+" mode, file will be crea…
28 $file_handle = fopen($file, "x+"); //Opening the existing data file in "x+" mode to check for the …
36 *** Test fopen() & fclose() functions: with 'x+' mode ***
/php-src/ext/ffi/tests/
H A Dbug80847.phpt35 $x = $ffi->new('bug80847_02');
36 $x->a->b = 42;
37 $x->a->c = 42.5;
38 var_dump($x);
39 $y = $ffi->ffi_bug80847($x);
40 var_dump($x, $y);
/php-src/ext/dom/tests/modern/spec/
H A Dxml_serialize_formatting.phpt13 '<root><child>text</child><![CDATA[x]]><foo><bar/></foo></root>',
14 '<root><a/><foo><bar><?foo <x><y/></x> ?><baz/></bar></foo></root>',
54 <root><child>text</child><![CDATA[x]]><foo><bar/></foo></root>
61 <?foo <x><y/></x> ?>
/php-src/Zend/tests/match/
H A D027.phpt9 public static function usesRef(&$x) {
10 $x = 'modified';
12 public static function usesValue($x) {
13 echo "usesValue $x\n";
33 Fatal error: Uncaught Error: Test::usesRef(): Argument #1 ($x) could not be passed by reference in …
/php-src/Zend/tests/arrow_functions/
H A D006.phpt8 $id = fn&(&$x) => $x;
15 $int_fn = fn(int $x): int => $x;
35 {closure:%s:%d}(): Argument #1 ($x) must be of type int, string given, called in %s on line %d

Completed in 29 milliseconds

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