/php-src/Zend/tests/ |
H A D | assign_dim_ref_free.phpt | 5 var_dump($ary[] = [&$x] = $x); 6 var_dump($x);
|
H A D | assign_ref_to_overloaded_prop.phpt | 7 private $x; 9 return $this->x; 15 $test->x =& $y; 16 var_dump($test->x);
|
H A D | bug42802.phpt | 27 $x = new bar(); 29 test1($x); 30 test2($x); 31 test3($x); 33 test5($x);
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug30928.phpt | 15 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 D | classmap007.phpt | 10 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 D | var_export_basic9.phpt | 5 $x = new stdClass(); 6 $x->{'\'\\'} = 7; 7 echo var_export($x);
|
/php-src/ext/soap/tests/soap12/ |
H A D | soap12-test.inc | 5 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 D | SplFixedArray_get_properties_for.phpt | 7 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 D | bug71334.phpt | 14 private function _mySort($x, $y) 16 if (!isset($this->a[$x])) { 17 throw new Exception('Missing X: "' . $x . '"'); 24 return $x <=> $y;
|
H A D | bug42177.phpt | 28 $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 D | bug63737.phpt | 6 $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 D | bug81532.phpt | 11 $b->x = $a; 15 $c->x = [$a]; 29 '{"x":{}}' 31 '{"x":[{}]}'
|
/php-src/ext/reflection/tests/ |
H A D | 024.phpt | 12 $x = new C1(); 13 $x->z = 4; 14 $x->p3 = 5; 16 $obj = new ReflectionObject($x);
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_086.phpt | 14 // $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 D | bug69152.phpt | 5 $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 D | inc_021.phpt | 17 function inc(int|float $x) { 18 return ++$x; 20 function dec(int|float $x) { 21 return --$x;
|
H A D | assign_035.phpt | 24 $x = $arr; 25 unset($x['b'][$closure()]['d']); 27 $x = $arr; 28 $x['a'] = $closure();
|
/php-src/ext/standard/tests/strings/ |
H A D | substr_int_min.phpt | 5 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 D | aborted_yield_during_switch.phpt | 6 function gen($x) { 7 switch ($x."y") { 13 $gen = gen("x");
|
/php-src/ext/gmp/tests/ |
H A D | bug80560.phpt | 72 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 D | 007_variation8.phpt | 2 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 D | bug80847.phpt | 35 $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 D | xml_serialize_formatting.phpt | 13 '<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 D | 027.phpt | 9 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 D | 006.phpt | 8 $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
|