Home
last modified time | relevance | path

Searched refs:Foo (Results 1 – 25 of 254) sorted by relevance

1234567891011

/PHP-5.6/Zend/tests/
H A Dns_026.phpt7 namespace Foo;
9 class Foo {
22 $x = new Foo;
23 \Foo\Bar();
24 $x = new \Foo\Foo;
25 \Foo\Foo::Bar();
26 \Foo\Bar();
27 Foo\Bar();
29 Method - Foo\Foo::__construct
31 Method - Foo\Foo::__construct
[all …]
H A Dns_025.phpt5 namespace Foo\Bar;
7 class Foo {
16 $x = new Foo;
17 Foo::Bar();
18 $x = new \Foo\Bar\Foo;
19 \Foo\Bar\Foo::Bar();
21 Foo\Bar\Foo
22 Foo\Bar\Foo
23 Foo\Bar\Foo
24 Foo\Bar\Foo
H A Dns_028.phpt7 class Foo {
16 $x = new Foo;
17 Foo\Bar();
18 $x = new Foo\Foo;
19 Foo\Foo::Bar();
20 \Foo\Bar();
22 Method - Foo::__construct
23 Func - Foo\Bar
24 Method - Foo\Foo::__construct
25 Method - Foo\Foo::Bar
[all …]
H A Dns_027.phpt7 class Foo {
16 $x = new Foo;
17 Foo::Bar();
18 $x = new Foo\Bar\Foo;
19 Foo\Bar\Foo::Bar();
21 Foo
22 Foo
23 Foo\Bar\Foo
24 Foo\Bar\Foo
H A Dns_002.phpt7 class Foo {
13 use test\ns1\Foo as Bar;
17 Foo::bar();
18 \test\ns1\Foo::bar();
20 ns2\Foo::bar();
21 ns1\Foo::bar();
23 test\ns1\Foo
24 test\ns1\Foo
25 test\ns1\Foo
26 test\ns1\Foo
[all …]
H A Dns_001.phpt7 class Foo {
22 $x = new Foo;
24 Foo::baz();
25 $y = new \test\ns1\Foo;
27 \test\ns1\Foo::baz();
29 test\ns1\Foo
30 test\ns1\Foo
31 test\ns1\Foo
32 test\ns1\Foo
33 test\ns1\Foo
[all …]
H A Dns_010.phpt7 class Foo {
17 new Foo();
18 new Y\Foo();
19 new \X\Foo();
20 Foo::bar();
21 Y\Foo::bar();
22 \X\Foo::bar();
23 echo Foo::C;
24 echo Y\Foo::C;
25 echo \X\Foo::C;
[all …]
H A Dclass_name_as_scalar.phpt6 namespace Foo\Bar {
37 Foo\Bar\One;
56 string(11) "Foo\Bar\Moo"
58 string(11) "Foo\Bar\One"
64 string(11) "Foo\Bar\Two"
65 string(11) "Foo\Bar\Two"
66 string(11) "Foo\Bar\One"
67 string(11) "Foo\Bar\Baz"
69 string(11) "Foo\Bar\Two"
71 string(11) "Foo\Bar\One"
[all …]
H A Dns_034.phpt7 class Foo {
10 function f1($x=Foo::C) {
13 function f2($x=B\Foo::C) {
16 function f3($x=\A\Foo::C) {
19 echo Foo::C;
20 echo B\Foo::C;
21 echo \A\Foo::C;
H A Dlsb_010.phpt6 class Foo {
7 protected static $className = 'Foo';
19 class FooChild extends Foo {
23 register_shutdown_function(array('Foo', 'bar'));
26 $foo = new Foo();
33 Foo::__construct
35 Foo::__destruct
37 Foo::bar
H A Dbug41372.phpt5 $Foo = array('val1', 'val2', 'val3');
6 end($Foo);
7 echo key($Foo),"\n";
8 $MagicInternalPointerResetter = $Foo;
9 echo key($Foo),"\n";
H A Dns_078.phpt7 class Foo {
20 use test\ns1\Foo;
21 use test\ns1\Foo as Bar;
25 Foo::bar();
30 test\ns1\Foo
31 test\ns1\Foo
H A Dbug41633_3.phpt5 class Foo {
6 const A = Foo::B;
7 const B = Foo::A;
9 echo Foo::A;
12 Fatal error: Cannot declare self-referencing constant 'Foo::B' in %sbug41633_3.php on line %d
H A Dbug22725.phpt7 class Foo {
9 echo "Foo::aPrivateMethod() called.\n";
13 echo "Foo::aProtectedMethod() called.\n";
18 class Bar extends Foo {
30 Foo::aProtectedMethod() called.
31 Foo::aPrivateMethod() called.
H A Ddebug_info.phpt6 class Foo {
12 return ['a'=>1, "\0*\0b"=>2, "\0Foo\0c"=>3];
24 $f = new Foo;
30 object(Foo)#%d (3) {
35 ["c":"Foo":private]=>
H A Dbug27798.phpt8 public $Foo = 1;
39 ["Foo"]=>
47 ["Foo"]=>
52 ["Foo"]=>
63 ["Foo"]=>
69 ["Foo"]=>
H A Dns_066.phpt6 use Foo\Bar\Foo as stdClass;
10 Foo\Bar\Foo
H A Dbug50816.phpt8 class Foo {
22 $mapWithoutConst = array(Foo::ONE => 'one', Foo::TWO => 'two',);
28 var_dump(Foo::$mapWithConst[1]);
29 var_dump(Foo::$mapWithConst1[1]);
30 var_dump(Foo::$mapWithConst2[1]);
31 var_dump(Foo::$mapWithoutConst[1]);
/PHP-5.6/sapi/cgi/tests/
H A D011.phpt29 header("X-Foo: Bar");
32 header("X-Foo: Bar");
37 header("X-Foo: Bar");
41 header("X-Foo: Bar");
45 header("X-Foo: Bar");
55 header("X-Foo: Bar");
83 header("X-Foo: Bar");
87 X-Foo: Bar
108 X-Foo: Bar
120 X-Foo: Bar
[all …]
/PHP-5.6/sapi/cli/tests/
H A Dphp_cli_server_019.phpt11 header('Bar-Foo: Foo');
29 Foo-Bar: Bar
46 Bar-Foo: Foo
52 ["Foo-Bar"]=>
58 ["Foo-Bar"]=>
64 ["Bar-Foo"]=>
65 string(3) "Foo"
/PHP-5.6/Zend/tests/traits/
H A Dnoctor001.phpt5 trait Foo {
6 public function Foo() {
11 use Foo;
16 $rfoofoo = new ReflectionMethod('Foo::Foo');
19 $rbarfoo = new ReflectionMethod('Bar::Foo');
/PHP-5.6/tests/classes/
H A Dobject_reference_001.phpt8 class Foo {
11 function Foo() {
12 $this->name = "I'm Foo!\n";
16 $foo = new Foo;
21 // In ZE1, we would expect "I'm Foo!"
26 I'm Foo!
/PHP-5.6/tests/lang/
H A Dbug23384.phpt8 class Foo {
10 function test($x = Foo::HUN) {
12 static $arr = array(Foo::HUN => 'ten');
20 Foo::test();
21 echo Foo::HUN."\n";
24 Strict Standards: Non-static method Foo::test() should not be called statically in %sbug23384.php o…
/PHP-5.6/ext/reflection/tests/
H A Dbug38465.phpt9 class Foo {
14 class Bar extends Foo {
54 Foo::x($a = 1)
55 Foo::x($b = 3)
56 Foo::x($c = 99)
62 Foo::x($a = 1)
63 Foo::x($b = 3)
64 Foo::x($c = 99)
/PHP-5.6/ext/spl/tests/
H A Dbug52238.phpt5 class Foo implements IteratorAggregate
15 var_dump(iterator_to_array(new Foo));
20 #0 %s: Foo->bar()
21 #1 [internal function]: Foo->getIterator()
22 #2 %s: iterator_to_array(Object(Foo))

Completed in 45 milliseconds

1234567891011