Home
last modified time | relevance | path

Searched refs:Foo (Results 126 – 150 of 368) sorted by relevance

12345678910>>...15

/PHP-7.2/Zend/tests/return_types/
H A Dinheritance007.phpt7 class Foo {
13 class Bar extends Foo {
19 Fatal error: Declaration of Bar::test(): ArrayObject must be compatible with Foo::test(): Traversab…
H A Dinheritance006.phpt9 class Foo {
15 class Bar extends Foo {
21 Fatal error: Declaration of Bar::test(): B must be compatible with Foo::test(): A in %sinheritance0…
H A D023.phpt6 class Foo {
7 function foo() : Foo {}
10 …e name as their class will not be constructors in a future version of PHP; Foo has a deprecated co…
H A Dinheritance009.phpt7 class Foo {
13 class Bar extends Foo {
20 var_dump(Foo::test());
/PHP-7.2/tests/lang/
H A Dcatchable_error_002.phpt5 class Foo {
8 function blah (Foo $a)
28 Argument 1 passed to blah() must be an instance of Foo, instance of stdClass given, called in %scat…
H A Dcatchable_error_001.phpt5 class Foo {
8 function blah (Foo $a)
22 Fatal error: Uncaught TypeError: Argument 1 passed to blah() must be an instance of Foo, instance o…
/PHP-7.2/Zend/tests/
H A Dbug62441.phpt11 class Foo implements \Iface {
15 (new Foo)->method(new \stdClass);
19 Fatal error: Declaration of ns\Foo::method(ns\stdClass $o) must be compatible with Iface::method(st…
H A Dbug69467.phpt13 class Foo implements Baz{
17 $test = new Foo();
21 Fatal error: Access level to Foo::bad() must be public (as in class Baz) in %sbug69467.php on line …
H A Dbug75079.phpt6 trait Foo
22 use Foo;
27 use Foo;
H A Dexception_004.phpt8 class Foo { }
11 throw new Foo();
12 } catch (Foo $e) {
H A Dargument_restriction_003.phpt5 class Foo {
9 …public function test(Foo $foo, array $bar, $option = NULL, $extra = "lllllllllllllllllllllllllllll…
19 Warning: Declaration of Sub::test() should be compatible with Base::test(Foo $foo, array $bar, $opt…
H A Dbug72177_2.phpt5 class Foo
15 class Bar extends Foo
28 $r = new ReflectionProperty(Foo::class, 'bar');
H A Dbug72496.phpt5 class Foo
9 return 'Foo';
23 class Bar extends Foo
H A Dns_067.inc2 use Foo\Bar\Foo as Test;
H A Dbug68652.phpt5 class Foo {
32 Foo::getInstance();
37 $foo = new Foo();
H A Dbug74164.phpt6 namespace Foo;
15 Fatal error: Uncaught Exception: Parameter 1 to Foo\{closure}() expected to be a reference, value g…
17 #0 [internal function]: Foo\{closure}(%s)
H A Dmethod_static_var.phpt7 class Foo {
9 eval("class Bar extends Foo {}");
18 new Foo;
H A Dns_027.inc2 namespace Foo\Bar;
4 class Foo {
/PHP-7.2/Zend/tests/type_declarations/
H A Diterable_004.phpt6 class Foo {
14 class Bar extends Foo {
24 Warning: Declaration of Bar::testScalar(iterable $iterable) should be compatible with Foo::testScal…
/PHP-7.2/sapi/phpdbg/tests/
H A Dprint_002.phpt34 namespace Foo {
36 function Foo($bar) {
49 (new \Foo\Bar)->Foo("test");
H A Dinfo_001.phpt23 User Class Foo\Bar (2)
63 namespace Foo {
65 function Foo($bar) {
78 (new \Foo\Bar)->Foo("test");
/PHP-7.2/ext/reflection/tests/
H A Dbug64936.phpt18 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
25 token_get_all("<?php\n/**\n * Foo\n */"); // doc_comment compiler global now contains this Foo comm…
/PHP-7.2/Zend/
H A Dmicro_bench.php24 class Foo { class
135 $x = Foo::$a;
141 Foo::$a = 0;
147 $x = isset(Foo::$a);
153 $x = empty(Foo::$a);
159 Foo::f();
165 $x = new Foo();
295 Foo::read_static(N);
297 Foo::write_static(N);
311 Foo::call_static(N);
[all …]
/PHP-7.2/ext/spl/tests/
H A Dobserver_009.phpt5 class Foo {}
8 $storageA->attach(new \Foo);
9 $storageA->attach(new \Foo);
/PHP-7.2/ext/date/tests/
H A Dbug67118_2.phpt7 class Foo extends DateTime {
21 var_dump(new Foo($date));
27 object(Foo)#1 (3) {

Completed in 80 milliseconds

12345678910>>...15