Home
last modified time | relevance | path

Searched refs:baz (Results 1 – 25 of 190) sorted by relevance

12345678

/PHP-7.2/Zend/tests/
H A Dmethod_exists_002.phpt24 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 Dbug35411.phpt6 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 Dbug29689.phpt25 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 Dclass_alias_018.phpt12 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 Dclass_alias_013.phpt6 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 Dclass_alias_012.phpt6 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 Dbug52160.phpt24 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 Dclass_alias_017.phpt20 class baz extends bar {
23 new baz;
24 baz::test();
31 baz
/PHP-7.2/Zend/tests/use_function/
H A Dalias.phpt7 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 Dconflicting_use.phpt7 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 Dbasic.phpt7 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.2/ext/spl/tests/
H A Darray_022.phpt12 $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.2/Zend/tests/use_const/
H A Dconflicting_use.phpt7 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 Dalias.phpt7 const baz = 42;
11 const baz = 43;
15 use const foo\baz as foo_baz,
16 bar\baz as bar_baz;
/PHP-7.2/ext/simplexml/tests/
H A D011.phpt14 <baz>baz1</baz>
15 <baz>baz2</baz>
26 echo $sxe->baz;
30 echo $sxe->baz[0];
34 print $sxe->baz[1];
H A Dbug46047.phpt7 $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.2/ext/zip/tests/
H A Doo_addglob.phpt21 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.2/ext/standard/tests/streams/
H A Dstream_context_get_params_001.phpt10 var_dump(stream_context_set_option($ctx, "foo","bar","baz"));
39 string(3) "baz"
52 string(3) "baz"
70 string(3) "baz"
87 string(3) "baz"
95 string(3) "baz"
111 string(3) "baz"
119 string(3) "baz"
/PHP-7.2/ext/standard/tests/array/
H A Dkey_exists_variation2.phpt11 $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.2/ext/standard/tests/general_functions/
H A Dparse_ini_string_bug76068.phpt2 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.2/sapi/phpdbg/tests/
H A Dprint_002.phpt16 >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.2/ext/session/tests/
H A D001.phpt20 $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 D022.phpt20 $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:…
/PHP-7.2/Zend/tests/traits/bugs/
H A Doverridding-conflicting-property-initializer.phpt13 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.2/ext/standard/tests/strings/
H A Dhttp_build_query.phpt6 $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"

Completed in 25 milliseconds

12345678