Home
last modified time | relevance | path

Searched refs:Foo (Results 51 – 75 of 327) sorted by relevance

12345678910>>...14

/PHP-7.0/Zend/tests/
H A Dns_029.phpt5 use A\B as Foo;
7 class Foo {
10 new Foo();
12 Fatal error: Cannot declare class Foo because the name is already in use in %sns_029.php on line 4
H A Dbug43344_4.phpt5 namespace Foo;
6 function f($a=array(Foo::bar)) {
12 Fatal error: Class 'Foo\Foo' not found in %sbug43344_4.php on line %d
H A Dbug60444.phpt5 class Foo {
7 eval("class Bar extends Foo {}");
12 public static function foo(Foo $foo) {
15 new Foo;
H A Dbug33999.phpt7 class Foo {
11 $foo = new Foo;
21 object(Foo)#1 (1) {
26 Notice: Object of class Foo could not be converted to int in %sbug33999.php on line 9
29 Notice: Object of class Foo could not be converted to float in %sbug33999.php on line 12
H A Dbug42772.phpt5 class Foo {
13 $foo = (string)new Foo();
14 var_dump(Foo::$foo);
17 object(Foo)#1 (0) {
H A Dns_030.phpt5 class Foo {
8 use A\B as Foo;
10 new Foo();
12 Fatal error: Cannot use A\B as Foo because the name is already in use in %sns_030.php on line 5
H A Dbug43344_2.phpt5 namespace Foo;
6 echo Foo::bar."\n";
9 Fatal error: Uncaught Error: Class 'Foo\Foo' not found in %sbug43344_2.php:%d
H A Dbug43344_5.phpt5 namespace Foo;
6 function f($a=array(Foo::bar=>0)) {
13 Fatal error: Class 'Foo\Foo' not found in %sbug43344_5.php on line %d
H A Dns_055.phpt7 class Foo {
8 function test1(Foo $x) {
11 function test2(\test\ns1\Foo $x) {
19 $foo = new Foo();
H A Dclosure_016.phpt5 class Foo {
16 $test = new Foo;
37 Foo::__invoke
39 Foo::__invoke
41 Foo::__invoke
43 Foo::__invoke
H A Dbug70957.phpt6 abstract class Foo
16 class B extends Foo
22 Warning: Declaration of T::bar() should be compatible with Foo::bar($a = 'Foo') in %sbug70957.php o…
H A Dbug63111.phpt5 abstract class Foo {
16 var_dump(is_callable(array("Foo", "bar")));
17 var_dump(is_callable("Foo::bar"));
23 Foo::bar();
34 Fatal error: Uncaught Error: Cannot call abstract method Foo::bar() in %sbug63111.php:20
H A Dns_060.phpt5 namespace Foo;
13 use Foo\A as B;
21 Foo\A
22 Foo\A
H A Dbug69537.phpt5 class Foo {
12 var_dump(new Foo);
15 object(Foo)#%d (%d) {
/PHP-7.0/ext/reflection/tests/
H A D003.phpt6 class Foo
14 class Bar extends Foo
23 $r = new ReflectionMethod('Foo','Test');
30 Foo::Test
H A D010.phpt7 class Foo {
11 class Bar extends Foo {
19 Method [ <user, overwrites Foo, prototype Foo> public method func ] {
H A Dbug72174.phpt6 class Foo
28 $instance = new Foo();
29 $reflectionBar = (new ReflectionProperty(Foo::class, 'bar'));
35 string(10) "Foo::__get"
H A DReflectionClass_getNamespaceName.phpt6 class Foo {
15 $function = new \ReflectionClass('A\\B\\Foo');
27 string(7) "A\B\Foo"
29 string(3) "Foo"
/PHP-7.0/tests/run-test/
H A Dtest009.phpt5 class Foo {}
6 $foo = new Foo;
10 Foo Object
/PHP-7.0/ext/session/tests/
H A Dsession_set_save_handler_variation6.phpt32 $_SESSION["Foo"] = FALSE;
45 $_SESSION['Bar'] = 'Foo';
71 ["Foo"]=>
76 Write [%s,%s,Blah|s:12:"Hello World!";Foo|b:0;Guff|i:1234567890;]
81 ["Foo"]=>
92 ["Foo"]=>
97 Write [%s,%s,Blah|s:12:"Hello World!";Foo|b:0;Guff|i:1234567890;Bar|s:3:"Foo";]
105 ["Foo"]=>
110 string(3) "Foo"
H A Dsession_set_save_handler_closures.phpt34 $_SESSION["Foo"] = FALSE;
46 $_SESSION['Bar'] = 'Foo';
70 ["Foo"]=>
75 Write [%s,%s,Blah|s:12:"Hello World!";Foo|b:0;Guff|i:1234567890;]
80 ["Foo"]=>
91 ["Foo"]=>
96 string(3) "Foo"
98 Write [%s,%s,Blah|s:12:"Hello World!";Foo|b:0;Guff|i:1234567890;Bar|s:3:"Foo";]
/PHP-7.0/ext/spl/tests/
H A Darray_018.phpt9 $foo->offsetSet("\0", "Foo");
21 $data = explode("=", "=Foo");
38 string(3) "Foo"
45 string(3) "Foo"
/PHP-7.0/tests/classes/
H A Dtype_hinting_001.phpt8 interface Foo {
9 function a(Foo $foo);
16 class FooBar implements Foo, Bar {
17 function a(Foo $foo) {
38 Fatal error: Uncaught TypeError: Argument 1 passed to FooBar::a() must implement interface Foo, ins…
H A Dprivate_007b.phpt16 class Foo extends Bar {
18 echo "Foo::priv()\n";
22 $obj = new Foo();
30 Foo::priv()
/PHP-7.0/ext/soap/tests/bugs/
H A Dbug41097.phpt14 test($soap, array('Foo', 'Bar'));
15 test($soap, array(5 => 'Foo', 10 => 'Bar'));
16 test($soap, array('5' => 'Foo', '10' => 'Bar'));
17 $soap->test(new SoapVar(array('Foo', 'Bar'), APACHE_MAP));
19 $soap->test(new SoapVar(array('Foo', 'Bar'), SOAP_ENC_ARRAY));

Completed in 24 milliseconds

12345678910>>...14