Searched refs:class (Results 201 – 225 of 3241) sorted by relevance
12345678910>>...130
/PHP-5.6/Zend/tests/ |
H A D | errmsg_029.phpt | 2 errmsg: cannot use 'parent' as class name 6 class parent { 12 Fatal error: Cannot use 'parent' as class name as it is reserved in %s on line %d
|
H A D | bug43183.phpt | 2 Bug #43183 ("use" of the same class in difference scripts results in a fatal error) 7 class Foo {} 8 class Bar {}
|
H A D | bug38772.phpt | 5 class A { 16 class B extends A { 22 class C extends A { 28 class D extends A {
|
H A D | bug42937.phpt | 2 Bug #42937 (__call() method not invoked when methods are called on parent from child class) 5 class A { 11 class C { 17 class B extends A {
|
H A D | bug62892.phpt | 10 class myClass { 15 $class = new \ReflectionClass('myClass'); 16 var_dump($class->getTraitAliases());
|
H A D | class_alias_019.phpt | 2 Trying to redeclare class name in global scope inside namespace 9 class foo { 17 Warning: Cannot redeclare class foo in %s on line %d
|
H A D | bug29689.phpt | 5 class foo { 15 class bar extends foo { 25 class baz extends bar { 30 class bar2 extends foo { 38 class baz2 extends bar2 {
|
H A D | bug41633_2.phpt | 2 Bug #41633.2 (Undefined class constants must not be substituted by strings) 5 class Foo { 11 Fatal error: Undefined class constant 'self::B' in %sbug41633_2.php on line 5
|
H A D | bug70958.phpt | 2 Bug #70958 (Invalid opcode while using ::class as trait method paramater default value) 7 function bar($a = self::class) { 12 class B {
|
H A D | errmsg_030.phpt | 2 errmsg: cannot use 'self' as parent class name 6 class test extends self { 12 Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
|
H A D | errmsg_031.phpt | 2 errmsg: cannot use 'parent' as parent class name 6 class test extends parent { 12 Fatal error: Cannot use 'parent' as class name as it is reserved in %s on line %d
|
H A D | bug45742.phpt | 2 Bug #45742 Wrong class array inpretetion using constant indexes 5 class Constants { 11 class ArrayProperty {
|
H A D | ns_029.phpt | 2 029: Name ambiguity (class name & import name) 7 class Foo { 12 Fatal error: Cannot declare class Foo because the name is already in use in %sns_029.php on line 4
|
/PHP-5.6/Zend/tests/traits/ |
H A D | error_004.phpt | 2 Trying to use a class as trait 6 class abc { 9 class A {
|
H A D | error_005.phpt | 2 Trying to use a final class as trait 6 final class abc { 9 class A {
|
H A D | error_006.phpt | 2 Trying to use an abstract class as trait 6 abstract class abc { 9 class A {
|
H A D | get_declared_traits_003.phpt | 6 class a { } 9 abstract class d { } 10 final class e { }
|
H A D | static_002.phpt | 14 class A { 18 $class = "A"; 19 echo $class::test();
|
/PHP-5.6/ext/reflection/tests/ |
H A D | ReflectionMethod_getClosure_error.phpt | 13 class StaticExample 17 var_dump( "Static Example class, Hello World!" ); 21 class Example 26 var_dump( "Example class, bar: " . $this->bar ); 31 $class = new ReflectionClass( 'Example' ); 33 $method = $class->getMethod( 'foo' ); 72 string(72) "Given object is not an instance of the class this method was declared in"
|
H A D | ReflectionMethod_basic2.phpt | 2 ReflectionMethod class __toString() and export() methods 6 function reflectMethod($class, $method) { 7 $methodInfo = new ReflectionMethod($class, $method); 9 echo "Reflecting on method $class::$method()\n\n"; 13 var_dump(ReflectionMethod::export($class, $method, true)); 17 class TestClass 36 class DerivedClass extends TestClass {} 156 Parameter #0 [ <required> $class ] 166 Parameter #0 [ <required> $class ]
|
/PHP-5.6/ext/standard/tests/assert/ |
H A D | assert.phpt | 17 class a 21 echo "class assertion failed $line,\"$myev\"\n"; 43 class assertion failed 25,"$a != 0" 44 class assertion failed 29,"$a != 0"
|
/PHP-5.6/ext/standard/tests/class_object/ |
H A D | method_exists_basic_002.phpt | 6 * Description: Returns true if the object has this class as one of its parents 11 echo " ---(Internal classes, using string class name)---\n"; 17 echo "\n ---(Internal classes, using class instance)---\n"; 26 ---(Internal classes, using string class name)--- 30 ---(Internal classes, using class instance)---
|
H A D | get_class_methods_error_001.phpt | 5 /* Prototype : proto array get_class_methods(mixed class) 6 * Description: Returns an array of method names for class or class instance. 23 $class = 1; 25 var_dump( get_class_methods($class, $extra_arg) );
|
/PHP-5.6/ext/spl/tests/ |
H A D | class_implements_basic2.phpt | 15 class fooImpl implements foo {} 18 class barImpl implements bar {} 20 class foobarImpl implements foo, bar {} 22 class fooViaBarImpl extends barImpl implements foo {} 24 class fooExtended extends fooImpl {}
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | bug35229.phpt | 5 class test2 { 11 function __autoload($class) 13 eval('class test1 extends test2 {}');
|
Completed in 56 milliseconds
12345678910>>...130