Home
last modified time | relevance | path

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

12345678910>>...15

/PHP-7.2/Zend/tests/arg_unpack/
H A Dnew.phpt6 class Foo {
12 new Foo(...[]);
13 new Foo(...[1, 2, 3]);
14 new Foo(...[1], ...[], ...[2, 3]);
/PHP-7.2/Zend/tests/
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 Dbug40621.phpt6 class Foo {
13 Foo::get();
18 Deprecated: Non-static method Foo::get() should not be called statically in %s on line %d
20 Fatal error: Uncaught Error: Non-static method Foo::__construct() cannot be called statically in %s…
22 #0 %s(%d): Foo::get()
H A Dcall_user_func_006.phpt6 namespace Foo;
14 \call_user_func('Foo\bar', $x);
19 call_user_func('Foo\bar', $y);
24 Warning: Parameter 1 to Foo\bar() expected to be a reference, value given in %s on line %d
27 Warning: Parameter 1 to Foo\bar() expected to be a reference, value given in %s on line %d
H A Dns_093.phpt8 use Foo\Bar \{ A };
10 use Foo\Bar\ { B };
12 use Foo\Bar
17 use Foo\Bar\
H A Dbug43344_3.phpt5 namespace Foo;
6 function f($a=Foo::bar) {
12 Fatal error: Class 'Foo\Foo' not found in %sbug43344_3.php on line %d
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 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 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 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…
/PHP-7.2/Zend/tests/return_types/
H A D021.phpt5 class Foo {
11 class Bar extends Foo {}
13 var_dump(Foo::getInstance());
16 object(Foo)#%d (%d) {
/PHP-7.2/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 ] {
/PHP-7.2/tests/classes/
H A Dtype_hinting_001.phpt6 interface Foo {
7 function a(Foo $foo);
14 class FooBar implements Foo, Bar {
15 function a(Foo $foo) {
35 Fatal error: Uncaught TypeError: Argument 1 passed to FooBar::a() must implement interface Foo, ins…
H A Dprivate_007b.phpt14 class Foo extends Bar {
16 echo "Foo::priv()\n";
20 $obj = new Foo();
28 Foo::priv()
/PHP-7.2/ext/session/tests/
H A Dsession_set_save_handler_variation6.phpt33 $_SESSION["Foo"] = FALSE;
46 $_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';
69 ["Foo"]=>
74 Write [%s,%s,Blah|s:12:"Hello World!";Foo|b:0;Guff|i:1234567890;]
79 ["Foo"]=>
90 ["Foo"]=>
95 string(3) "Foo"
97 Write [%s,%s,Blah|s:12:"Hello World!";Foo|b:0;Guff|i:1234567890;Bar|s:3:"Foo";]
/PHP-7.2/tests/run-test/
H A Dtest009.phpt5 class Foo {}
6 $foo = new Foo;
10 Foo Object

Completed in 33 milliseconds

12345678910>>...15