Home
last modified time | relevance | path

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

123456789

/PHP-5.4/Zend/tests/
H A Dns_026.phpt5 namespace Foo;
7 class Foo {
20 $x = new Foo;
21 \Foo\Bar();
22 $x = new \Foo\Foo;
23 \Foo\Foo::Bar();
24 \Foo\Bar();
25 Foo\Bar();
27 Method - Foo\Foo::__construct
29 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 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 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 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 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]);
H A Dbug43201.phpt5 class Foo {
14 $c = new Foo();
25 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
27 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
33 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
37 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
41 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
45 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
49 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
53 Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on l…
H A Dbug49908.phpt9 if ($className == 'Foo') {
10 class Foo implements Bar {};
16 new Foo;
20 %unicode|string%(3) "Foo"
26 #1 %s(13): __autoload('Foo')
/PHP-5.4/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.4/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.4/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!
H A Dprivate_007.phpt16 class Foo extends Bar {
18 echo "Foo::priv()\n";
22 Foo::pub();
23 Foo::priv();
29 Foo::priv()
/PHP-5.4/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.4/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.4/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 35 milliseconds

123456789