Searched refs:Foo (Results 26 – 50 of 327) sorted by relevance
12345678910>>...14
/PHP-7.0/Zend/tests/return_types/ |
H A D | inheritance004.phpt | 6 class Foo { 8 return new Foo; 12 class Bar extends Foo { 19 var_dump(Foo::test()); 24 object(Foo)#%d (0) {
|
H A D | inheritance005.phpt | 6 class Foo { 8 return new Foo; 12 class Bar extends Foo { 19 Fatal error: Declaration of Bar::test(): Bar must be compatible with Foo::test(): Foo in %sinherita…
|
H A D | 021.phpt | 6 class Foo { 12 class Bar extends Foo {} 14 var_dump(Foo::getInstance()); 18 object(Foo)#%d (%d) {
|
/PHP-7.0/tests/classes/ |
H A D | type_hinting_002.phpt | 8 class Foo { 12 $o = new Foo; 16 …ror: Uncaught TypeError: Argument 1 passed to Foo::a() must be an instance of NonExisting, instanc… 18 #0 %s(%d): Foo->a(Object(Foo))
|
H A D | object_reference_001.phpt | 8 class Foo { 12 $this->name = "I'm Foo!\n"; 16 $foo = new Foo; 21 // In ZE1, we would expect "I'm Foo!" 26 I'm Foo!
|
H A D | private_007.phpt | 16 class Foo extends Bar { 18 echo "Foo::priv()\n"; 22 Foo::pub(); 23 Foo::priv(); 29 Foo::priv()
|
/PHP-7.0/Zend/tests/ |
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 | bug22725.phpt | 7 class Foo { 9 echo "Foo::aPrivateMethod() called.\n"; 13 echo "Foo::aProtectedMethod() called.\n"; 18 class Bar extends Foo { 30 Foo::aProtectedMethod() called. 31 Foo::aPrivateMethod() called.
|
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 }; 19 Foo\Bar\A::__construct 20 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 | ns_066.phpt | 6 use Foo\Bar\Foo as stdClass; 10 Foo\Bar\Foo
|
H A D | bug27798.phpt | 8 public $Foo = 1; 39 ["Foo"]=> 47 ["Foo"]=> 52 ["Foo"]=> 63 ["Foo"]=> 69 ["Foo"]=>
|
H A D | ns_089.phpt | 5 namespace Foo\Bar\Baz { 17 use Foo\Bar\Baz\{ 47 Foo\Bar\Baz\A::__construct 48 Foo\Bar\Baz\B::__construct 49 Foo\Bar\Baz\C::__construct 50 Foo\Bar\Baz\D::__construct 52 Foo\Bar\Baz\foo 53 Foo\Bar\Baz\bar
|
H A D | bug49908.phpt | 9 if ($className == 'Foo') { 10 class Foo implements Bar {}; 16 new Foo; 20 %unicode|string%(3) "Foo" 26 #1 %s(13): __autoload('Foo')
|
H A D | bug55578.phpt | 7 class Foo { 9 return 'Foo'; 17 var_dump(test($options, new Foo())); 20 string(3) "Foo"
|
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 | bug43201.phpt | 5 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 D | bug40621.phpt | 6 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 D | ns_093.phpt | 8 use Foo\Bar \{ A }; 10 use Foo\Bar\ { B }; 12 use Foo\Bar 17 use Foo\Bar\
|
H A D | bug43344_3.phpt | 5 namespace Foo; 6 function f($a=Foo::bar) { 12 Fatal error: Class 'Foo\Foo' not found in %sbug43344_3.php on line %d
|
/PHP-7.0/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.0/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.0/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))
|
/PHP-7.0/Zend/tests/arg_unpack/ |
H A D | new.phpt | 6 class Foo { 12 new Foo(...[]); 13 new Foo(...[1, 2, 3]); 14 new Foo(...[1], ...[], ...[2, 3]);
|
Completed in 23 milliseconds
12345678910>>...14