/PHP-7.1/Zend/tests/ |
H A D | method_exists_002.phpt | 24 class baz extends bar { 40 var_dump(method_exists('baz', 'stat_a')); 41 var_dump(method_exists('baz', 'stat_b')); 42 var_dump(method_exists('baz', 'stat_c')); 44 var_dump(method_exists('baz', 'stat_a2')); 45 var_dump(method_exists('baz', 'stat_b2')); 46 var_dump(method_exists('baz', 'stat_c2')); 49 $baz = new baz; 54 var_dump(method_exists($baz, 'stat_a')); 55 var_dump(method_exists($baz, 'stat_b')); [all …]
|
H A D | bug35411.phpt | 6 echo "foo\{$abc}baz\n"; 7 echo "foo\{ $abc}baz\n"; 9 foo{$abc}baz 10 foo\{$abc}baz 11 foo\{ $abc}baz 15 foo\{bar}baz 16 foo\{ bar}baz 18 foo\{bar}baz 19 foo\{ bar}baz
|
H A D | bug29689.phpt | 25 class baz extends bar { 26 protected $foo = 'baz'; 45 echo "---baz--\n"; 46 $baz = new baz(); 47 $baz->printFoo(); 49 $baz = new baz2(); 50 $baz->printFoo(); 57 ---baz-- 59 bar: baz baz2
|
H A D | class_alias_018.phpt | 12 class baz extends bar { 17 var_dump(is_subclass_of(new foo, 'baz')); 21 var_dump(is_subclass_of(new bar, 'baz')); 23 var_dump(is_subclass_of(new baz, 'foo')); 24 var_dump(is_subclass_of(new baz, 'bar')); 25 var_dump(is_subclass_of(new baz, 'baz'));
|
H A D | class_alias_013.phpt | 6 namespace test\baz; 19 var_dump(new \test\baz\foo, new \test\baz\T\BAR); 23 object(test\baz\foo)#%d (0) { 25 object(test\baz\foo)#%d (0) {
|
H A D | class_alias_012.phpt | 6 namespace test\baz; 26 object(test\baz\foo)#%d (0) { 28 object(test\baz\foo)#%d (0) { 30 object(test\baz\foo)#%d (0) { 32 object(test\baz\foo)#%d (0) {
|
H A D | bug52160.phpt | 24 class baz { 25 static function baz() { 32 …e name as their class will not be constructors in a future version of PHP; baz has a deprecated co… 34 Fatal error: Constructor baz::baz() cannot be static in %s on line %d
|
H A D | class_alias_017.phpt | 20 class baz extends bar { 23 new baz; 24 baz::test(); 31 baz
|
/PHP-7.1/Zend/tests/use_function/ |
H A D | alias.phpt | 7 function baz() { 8 return 'foo.baz'; 13 function baz() { 14 return 'bar.baz'; 19 use function foo\baz as foo_baz, 20 bar\baz as bar_baz; 28 string(7) "foo.baz" 29 string(7) "bar.baz"
|
H A D | conflicting_use.phpt | 7 function baz() { 8 return 'foo.baz'; 13 function baz() { 14 return 'bar.baz'; 19 use function foo\baz, bar\baz; 25 Fatal error: Cannot use function bar\baz as baz because the name is already in use in %s on line %d
|
H A D | basic.phpt | 7 function baz() { 8 return 'foo.bar.baz'; 11 return baz(); 16 use function foo\bar\baz, foo\bar\qux; 17 var_dump(baz()); 24 string(11) "foo.bar.baz" 25 string(11) "foo.bar.baz"
|
/PHP-7.1/ext/spl/tests/ |
H A D | array_022.phpt | 12 $this['bar'] = 'baz'; 19 $b['baz'] = 'Foo'; 33 $this['bar'] = 'baz'; 40 $b['baz'] = 'Foo'; 51 string(3) "baz" 55 string(3) "baz" 56 ["baz"]=> 62 string(3) "baz" 66 string(3) "baz" 67 ["baz"]=>
|
/PHP-7.1/Zend/tests/use_const/ |
H A D | conflicting_use.phpt | 7 const baz = 42; 11 const baz = 42; 15 use const foo\baz, bar\baz; 21 Fatal error: Cannot use const bar\baz as baz because the name is already in use in %s on line %d
|
H A D | alias.phpt | 7 const baz = 42; 11 const baz = 43; 15 use const foo\baz as foo_baz, 16 bar\baz as bar_baz;
|
/PHP-7.1/ext/simplexml/tests/ |
H A D | 011.phpt | 14 <baz>baz1</baz> 15 <baz>baz2</baz> 26 echo $sxe->baz; 30 echo $sxe->baz[0]; 34 print $sxe->baz[1];
|
H A D | bug46047.phpt | 7 $xml = new SimpleXMLElement('<foo><bar><![CDATA[]]></bar><baz/></foo>', 11 $xml = new SimpleXMLElement('<foo><bar></bar><baz/></foo>'); 14 $xml = new SimpleXMLElement('<foo><bar/><baz/></foo>'); 25 [baz] => SimpleXMLElement Object 36 [baz] => SimpleXMLElement Object 47 [baz] => SimpleXMLElement Object
|
/PHP-7.1/ext/zip/tests/ |
H A D | oo_addglob.phpt | 21 touch($dirname . 'bar.baz'); 27 $options = array('add_path' => 'baz/', 'remove_all_path' => TRUE); 28 if (!$zip->addGlob($dirname . '*.{txt,baz}', GLOB_BRACE, $options)) { 43 unlink($dirname . 'bar.baz'); 48 2 foobar/baz 50 4 baz/foo.txt 51 5 baz/bar.baz
|
/PHP-7.1/ext/standard/tests/array/ |
H A D | key_exists_variation2.phpt | 11 $a = array(1 => 'bar', 'foo' => 'baz'); 16 $b = array(1, 'foo' => 'baz'); 20 $c = array('foo' => 'baz', 42); 25 $d = array('bar', 'foo' => 'baz'); 28 // 'baz' has index = 0, netherless its position is the latest 29 $e = array('foo' => 'baz', 'baz'); 41 $f = array('foo' => 'baz', $obj); 45 $g = array($obj, 'foo' => 'baz'); 51 $h = array($st, 'foo' => 'baz'); 55 $i = array('foo' => 'baz', $st);
|
/PHP-7.1/ext/standard/tests/general_functions/ |
H A D | parse_ini_string_bug76068.phpt | 2 Bug #76068 parse_ini_string fails to parse "[foo]\nbar=1|>baz" with segfault 6 $s = parse_ini_string("[foo]\nbar=1|>baz",true, \INI_SCANNER_TYPED); 9 $s = parse_ini_string("[foo]\nbar=\"1|>baz\"",true, \INI_SCANNER_TYPED); 15 $s = parse_ini_string("[foo]\nbar=42|>baz",true, \INI_SCANNER_TYPED); 32 string(6) "1|>baz"
|
/PHP-7.1/sapi/phpdbg/tests/ |
H A D | print_002.phpt | 16 >00015: var_dump(strrev($baz)); 21 L14 #0 RECV 1 $baz 24 L15 #3 SEND_VAR $baz 1 40 function baz() { } 45 function foo($baz) { 46 var_dump(strrev($baz));
|
/PHP-7.1/ext/session/tests/ |
H A D | 001.phpt | 20 $baz = new foo; 21 $baz->method(); 28 $_SESSION["baz"] = $baz; 35 baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"…
|
H A D | 022.phpt | 20 $baz = new foo; 21 $baz->method(); 26 $_SESSION["baz"] = $baz; 32 string(126) "baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}arr|a:1:{i:3;O:3:"foo":2:{s:…
|
H A D | 025.phpt | 17 …public $data = 'baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"… 69 $baz = $_SESSION['baz']; 71 $baz->method(); 74 var_dump($baz); 81 $baz = $_SESSION['baz']; 85 $baz->method(); 91 var_dump($baz); var_dump($arr); var_dump($c); 97 var_dump($baz); var_dump($arr); var_dump($c); 119 WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"ba… 139 WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"ba…
|
/PHP-7.1/Zend/tests/traits/bugs/ |
H A D | overridding-conflicting-property-initializer.phpt | 13 class baz 16 public $zoo = 'baz::zoo'; 19 $obj = new baz(); 23 Fatal error: baz and foo define the same property ($zoo) in the composition of baz. However, the de…
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | http_build_query.phpt | 6 $array = array("foo"=>"bar","baz"=>1,"test"=>"a ' \" ", "abc"); 13 string(35) "foo=bar&baz=1&test=a+%27+%22+&0=abc" 14 string(38) "foo=bar&baz=1&test=a+%27+%22+&foo0=abc" 15 string(38) "foo=bar;baz=1;test=a+%27+%22+;foo0=abc"
|