Searched refs:Foo (Results 26 – 50 of 368) sorted by relevance
12345678910>>...15
/PHP-7.2/Zend/tests/ |
H A D | ns_092.phpt | 5 namespace Foo\Bar { 16 use function Foo\Bar\{ 23 use const Foo\Bar\{ 29 use Foo\Bar\{ A, B, const BAR as BOZ }; 52 Foo\Bar\A::__construct 53 Foo\Bar\B::__construct 62 Foo\Bar\fiz 63 Foo\Bar\biz 64 Foo\Bar\buz 66 Fatal error: Uncaught Error: Call to undefined function Foo\Bar\A() in %sns_092.php:45
|
H A D | dynamic_call_to_ref_returning_function.phpt | 6 namespace Foo; 12 var_dump(call_user_func('Foo\retRef', 42)); 13 var_dump(call_user_func_array('Foo\retRef', [42])); 20 var_dump((new \ReflectionFunction('Foo\retRef'))->invoke(42)); 21 var_dump((new \ReflectionFunction('Foo\retRef'))->invokeArgs([42])); 28 var_dump((new \ReflectionMethod('Foo\Bar', 'method'))->invoke(new Bar, 42)); 29 var_dump((new \ReflectionMethod('Foo\Bar', 'method'))->invokeArgs(new Bar, [42]));
|
H A D | bug22725.phpt | 5 class Foo { 7 echo "Foo::aPrivateMethod() called.\n"; 11 echo "Foo::aProtectedMethod() called.\n"; 16 class Bar extends Foo { 28 Foo::aProtectedMethod() called. 29 Foo::aPrivateMethod() called.
|
H A D | bug49908.phpt | 9 if ($className == 'Foo') { 10 class Foo implements Bar {}; 16 new Foo; 20 string(3) "Foo" 27 #2 [internal function]: {closure}('Foo') 28 #3 %s(%d): spl_autoload_call('Foo')
|
H A D | ns_078.phpt | 7 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 D | ns_090.phpt | 5 namespace Foo\Bar\Baz { 17 use Foo\Bar\Baz\{ A, B, C as AC, D }; 18 use Foo\Bar\Baz\{ function foo, function bar as buz, const FOO, const BAR AS BOZ }; 37 Foo\Bar\Baz\A::__construct 38 Foo\Bar\Baz\B::__construct 39 Foo\Bar\Baz\C::__construct 40 Foo\Bar\Baz\D::__construct 42 Foo\Bar\Baz\foo 43 Foo\Bar\Baz\bar
|
H A D | nested_method_and_function.phpt | 8 class Foo { 26 $c = Foo::bar(); 33 string(7) "Baz\Foo" 35 string(12) "Baz\Foo::bar" 36 string(7) "Baz\Foo" 39 string(7) "Baz\Foo"
|
H A D | bug41633_3.phpt | 5 class Foo { 6 const A = Foo::B; 7 const B = Foo::A; 9 echo Foo::A; 12 Fatal error: Uncaught Error: Cannot declare self-referencing constant 'Foo::B' in %sbug41633_3.php:…
|
H A D | ns_091.phpt | 5 namespace Foo\Bar { 8 namespace Foo\Bar\Baz { 13 use Foo\Bar\{ A, Baz\B }; 18 Foo\Bar\A::__construct 19 Foo\Bar\Baz\B::__construct
|
H A D | debug_info.phpt | 6 class Foo { 12 return ['a'=>1, "\0*\0b"=>2, "\0Foo\0c"=>3]; 24 $f = new Foo; 30 object(Foo)#%d (3) { 35 ["c":"Foo":private]=>
|
H A D | bug27798.phpt | 8 public $Foo = 1; 39 ["Foo"]=> 47 ["Foo"]=> 52 ["Foo"]=> 63 ["Foo"]=> 69 ["Foo"]=>
|
H A D | ns_trailing_comma_02.phpt | 5 namespace Foo { 6 const FOO_CONST_1 = "Foo const 1\n"; 7 const FOO_CONST_2 = "Foo const 2\n"; 26 use const Foo\{ 47 Foo const 1 48 Foo const 2
|
H A D | ns_066.phpt | 6 use Foo\Bar\Foo as stdClass; 10 Foo\Bar\Foo
|
H A D | ns_089.phpt | 5 namespace Foo\Bar\Baz { 17 use Foo\Bar\Baz\{ 46 Foo\Bar\Baz\A::__construct 47 Foo\Bar\Baz\B::__construct 48 Foo\Bar\Baz\C::__construct 49 Foo\Bar\Baz\D::__construct 51 Foo\Bar\Baz\foo 52 Foo\Bar\Baz\bar
|
H A D | bug50816.phpt | 8 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 D | bug55578.phpt | 7 class Foo { 9 return 'Foo'; 17 var_dump(test($options, new Foo())); 20 string(3) "Foo"
|
/PHP-7.2/tests/lang/ |
H A D | bug23384.phpt | 6 class Foo { 8 function test($x = Foo::HUN) { 10 static $arr = array(Foo::HUN => 'ten'); 18 Foo::test(); 19 echo Foo::HUN."\n"; 22 Deprecated: Non-static method Foo::test() should not be called statically in %sbug23384.php on line…
|
/PHP-7.2/tests/classes/ |
H A D | type_hinting_002.phpt | 6 class Foo { 10 $o = new Foo; 14 …ror: Uncaught TypeError: Argument 1 passed to Foo::a() must be an instance of NonExisting, instanc… 16 #0 %s(%d): Foo->a(Object(Foo))
|
H A D | object_reference_001.phpt | 6 class Foo { 10 $this->name = "I'm Foo!\n"; 14 $foo = new Foo; 19 // In ZE1, we would expect "I'm Foo!" 24 I'm Foo!
|
H A D | private_007.phpt | 14 class Foo extends Bar { 16 echo "Foo::priv()\n"; 20 Foo::pub(); 21 Foo::priv(); 27 Foo::priv()
|
/PHP-7.2/Zend/tests/return_types/ |
H A D | inheritance004.phpt | 5 class Foo { 7 return new Foo; 11 class Bar extends Foo { 18 var_dump(Foo::test()); 22 object(Foo)#%d (0) {
|
H A D | inheritance005.phpt | 5 class Foo { 7 return new Foo; 11 class Bar extends Foo { 17 Fatal error: Declaration of Bar::test(): Bar must be compatible with Foo::test(): Foo in %sinherita…
|
/PHP-7.2/Zend/tests/traits/ |
H A D | noctor001.phpt | 5 trait Foo { 6 public function Foo() { 11 use Foo; 16 $rfoofoo = new ReflectionMethod('Foo::Foo'); 19 $rbarfoo = new ReflectionMethod('Bar::Foo');
|
/PHP-7.2/ext/reflection/tests/ |
H A D | bug38465.phpt | 9 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-7.2/ext/spl/tests/ |
H A D | bug52238.phpt | 5 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 23 milliseconds
12345678910>>...15