Searched refs:Foo (Results 1 – 25 of 368) sorted by relevance
12345678910>>...15
/PHP-7.2/Zend/tests/ |
H A D | ns_025.phpt | 5 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 D | ns_026.phpt | 7 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 D | ns_028.phpt | 7 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 D | ns_027.phpt | 7 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 D | ns_002.phpt | 7 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 D | ns_001.phpt | 7 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 D | ns_010.phpt | 7 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 D | class_name_as_scalar.phpt | 6 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 D | ns_trailing_comma_01.phpt | 5 namespace Foo { 6 const FOO_CONST = "Foo const\n"; 8 echo "Foo func\n"; 12 echo "Foo class\n"; 17 use Foo\{ 28 Foo const 29 Foo func 30 Foo class
|
H A D | ns_095.phpt | 6 namespace Foo\Bar { 22 use \Foo\Bar\{ClassA, ClassB, ClassC}; 23 use function \Foo\Bar\{fn_a, fn_b, fn_c}; 24 use const \Foo\Bar\{CONST_A, CONST_B, CONST_C}; 40 string(14) "Foo\Bar\ClassA" 41 string(14) "Foo\Bar\ClassB" 42 string(14) "Foo\Bar\ClassC" 43 string(12) "Foo\Bar\fn_a" 44 string(12) "Foo\Bar\fn_b" 45 string(12) "Foo\Bar\fn_c"
|
H A D | ns_034.phpt | 7 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 D | lsb_010.phpt | 6 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 D | int_static_prop_name.phpt | 6 class Foo { 18 var_dump(Foo::${42}); 24 var_dump(Foo::${(int) 42}); 30 var_dump(Foo::${(int) $n}); 40 Access to undeclared static property: Foo::$42 41 Access to undeclared static property: Foo::$42 42 Access to undeclared static property: Foo::$42
|
H A D | bug69676_2.phpt | 6 class Foo { 7 const A = 'Foo::A'; 9 const C = 'Foo::C'; 13 class Bar extends Foo { 22 string(17) "Foo::A and Foo::C"
|
H A D | bug41372.phpt | 5 $Foo = array('val1', 'val2', 'val3'); 6 end($Foo); 7 echo key($Foo),"\n"; 8 $MagicInternalPointerResetter = $Foo; 9 echo key($Foo),"\n";
|
/PHP-7.2/Zend/tests/grammar/ |
H A D | regression_007.phpt | 6 class Foo { 26 Foo::{'new'}(); 28 var_dump(Foo::use); 32 Foo::new 33 Foo::new 34 Foo::new 35 Foo::self 36 Foo::new 37 Foo::self 38 Foo::self [all …]
|
H A D | regression_002.phpt | 6 class Foo {} 8 var_dump(Foo::class); 10 var_dump(Foo:: class); 12 var_dump(Foo:: CLASS); 14 var_dump(Foo:: 18 string(3) "Foo" 19 string(3) "Foo" 20 string(3) "Foo" 21 string(3) "Foo"
|
H A D | regression_001.phpt | 6 class Foo { 10 Foo::function(); 12 Foo:: 15 Foo:: 19 Foo:: 26 Foo::function 27 Foo::function 28 Foo::function 29 Foo::function
|
H A D | semi_reserved_006.phpt | 27 class Foo 49 (new Foo)->catch(); 50 (new Foo)->foreach(); 51 Foo::throw(); 52 Foo::self(); 53 var_dump(Foo::$list['a']); 54 Foo::attempt(); 55 Foo::die(); 56 Foo::bye(); 57 Foo::byebye(); [all …]
|
/PHP-7.2/sapi/cgi/tests/ |
H A D | 011.phpt | 29 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-7.2/sapi/phpdbg/tests/ |
H A D | breakpoints_008.phpt | 5 b \Foo\Bar::Foo 12 prompt> [Breakpoint exists at Foo\Bar::Foo] 23 namespace Foo { 25 function Foo($bar) { 32 (new \Foo\Bar)->Foo("test");
|
H A D | print_001.phpt | 7 p class \Foo\bar 23 prompt> [User Class: Foo\Bar (2 methods)] 24 L5-7 Foo\Bar::Foo() %s - %s + 5 ops 26 …L6 #1 INIT_NS_FCALL_BY_NAME<1> "Foo\\var_dump" … 30 L9-9 Foo\Bar::baz() %s - %s + 1 ops 37 L18 #2 NEW "Foo\\Bar" @1 39 L18 #4 INIT_METHOD_CALL<1> @1 "Foo" 50 namespace Foo { 52 function Foo($bar) { 65 (new \Foo\Bar)->Foo("test");
|
/PHP-7.2/Zend/tests/type_declarations/ |
H A D | parameter_type_variance.phpt | 6 class Foo { 7 function testParentClass(Foo $foo) {} 8 function testBothClass(Foo $foo) {} 18 class Bar extends Foo { 20 function testBothClass(Foo $foo) {} 21 function testChildClass(Foo $foo) {} 32 Warning: Declaration of Bar::testChildClass(Foo $foo) should be compatible with Foo::testChildClass… 34 Warning: Declaration of Bar::testChildBuiltin(int $foo) should be compatible with Foo::testChildBui…
|
/PHP-7.2/ext/standard/tests/serialize/ |
H A D | bug49649_2.phpt | 7 *class Foo 18 * echo base64_encode(serialize(new Foo())); 24 class Foo 36 object(Foo)#1 (4) { 37 ["public":"Foo":private]=> 39 ["protected":"Foo":private]=> 41 ["private":"Foo":private]=>
|
/PHP-7.2/sapi/cli/tests/ |
H A D | php_cli_server_019.phpt | 11 header('Bar-Foo: Foo'); 29 Foo-Bar: Bar 47 Bar-Foo: Foo 53 ["Foo-Bar"]=> 59 ["Foo-Bar"]=> 65 ["Bar-Foo"]=> 66 string(3) "Foo"
|
Completed in 35 milliseconds
12345678910>>...15