Home
last modified time | relevance | path

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

1234567

/PHP-5.6/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 Dclass_alias_017.phpt20 class baz extends bar {
23 new baz;
24 baz::test();
31 baz
/PHP-5.6/ext/spl/tests/
H A Darray_022.phpt12 $this['bar'] = 'baz';
19 $b['baz'] = 'Foo';
40 $b['baz'] = 'Foo';
51 string(3) "baz"
55 string(3) "baz"
56 ["baz"]=>
61 string(3) "baz"
67 string(3) "baz"
71 string(3) "baz"
72 ["baz"]=>
[all …]
H A Dbug40036.phpt16 $view->baz = '';
23 if (empty($view['baz']) || empty($view->baz)) {
24 echo "View::baz empty\n";
31 View::baz empty
/PHP-5.6/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-5.6/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 Dno_global_fallback.phpt8 use const foo\bar\baz;
9 var_dump(baz);
13 Notice: Use of undefined constant baz - assumed 'baz' in %s on line %d
14 string(3) "baz"
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-5.6/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-5.6/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-5.6/ext/session/tests/
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:…
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 D025.phpt17 …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…
H A D023.phpt22 session_decode('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:"b…
23 $baz = $_SESSION['baz'];
26 $baz->method();
29 var_dump($baz);
/PHP-5.6/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-5.6/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"
/PHP-5.6/ext/standard/tests/streams/
H A Dstream_context_get_params_001.phpt10 var_dump(stream_context_set_option($ctx, "foo","bar","baz"));
39 %unicode|string%(3) "baz"
52 %unicode|string%(3) "baz"
70 %unicode|string%(3) "baz"
87 %unicode|string%(3) "baz"
95 %unicode|string%(3) "baz"
111 %unicode|string%(3) "baz"
119 %unicode|string%(3) "baz"

Completed in 24 milliseconds

1234567