Home
last modified time | relevance | path

Searched refs:class (Results 251 – 275 of 3768) sorted by relevance

1...<<11121314151617181920>>...151

/PHP-7.3/ext/soap/tests/
H A Dbug70875.phpt10 class bug70875 extends SOAPClient
28 class TestService
33 class TestServiceRQ
38 class RqHeader
/PHP-7.3/tests/classes/
H A Dfinal_ctor2.phpt6 class Base
13 class Works extends Base
17 class Extended extends Base
28 Deprecated: Methods with the same name as their class will not be constructors in a future version …
/PHP-7.3/ext/reflection/tests/
H A DReflectionMethod_defaultArg.phpt5 Abstract class F {
6 private function bar($a = self::class) {}
11 private function bar($a = self::class) {}
15 class B {
/PHP-7.3/Zend/tests/
H A Dbug52160.phpt6 class bar {
15 class foo {
24 class baz {
32 Deprecated: Methods with the same name as their class will not be constructors in a future version …
H A Dbug43183.phpt2 Bug #43183 ("use" of the same class in difference scripts results in a fatal error)
7 class Foo {}
8 class Bar {}
H A Dbug62892.phpt10 class myClass {
15 $class = new \ReflectionClass('myClass');
16 var_dump($class->getTraitAliases());
H A Dbug78787.phpt9 class C1 {
13 class C2 extends C1 {
15 class C3 extends C2 {
H A Dbug70958.phpt2 Bug #70958 (Invalid opcode while using ::class as trait method parameter default value)
7 function bar($a = self::class) {
12 class B {
H A Daccess_modifiers_013.phpt2 Prevent abstract and final in the same class declaration
6 final abstract class C {
12 Fatal error: Cannot use the final modifier on an abstract class in %s on line %d
H A Derrmsg_030.phpt2 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 Derrmsg_031.phpt2 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 Dbug38772.phpt5 class A {
16 class B extends A {
22 class C extends A {
28 class D extends A {
H A Dbug45742.phpt2 Bug #45742 Wrong class array inpretetion using constant indexes
5 class Constants {
11 class ArrayProperty {
H A Dobjects_009.phpt8 class test {
12 class test2 extends test {
16 class test3 extends test {
/PHP-7.3/Zend/tests/traits/
H A Dbug55554b.phpt2 Bug #55137 (Legacy constructor not registered for class)
15 class OverridingIsSilent1 {
27 class OverridingIsSilent2 {
39 class ReportCollision {
52 Deprecated: Methods with the same name as their class will not be constructors in a future version …
H A Derror_005.phpt2 Trying to use a final class as trait
6 final class abc {
9 class A {
H A Derror_006.phpt2 Trying to use an abstract class as trait
6 abstract class abc {
9 class A {
H A Dstatic_002.phpt14 class A {
18 $class = "A";
19 echo $class::test();
/PHP-7.3/Zend/tests/type_declarations/
H A Dscalar_reserved2.phpt2 Scalar type names cannot be used as class, trait or interface names (2)
6 class int {}
8 Fatal error: Cannot use 'int' as class name as it is reserved in %s on line %d
H A Dscalar_reserved3.phpt2 Scalar type names cannot be used as class, trait or interface names (3)
6 class float {}
8 Fatal error: Cannot use 'float' as class name as it is reserved in %s on line %d
H A Dscalar_reserved4.phpt2 Scalar type names cannot be used as class, trait or interface names (4)
6 class string {}
8 Fatal error: Cannot use 'string' as class name as it is reserved in %s on line %d
H A Dscalar_reserved6.phpt2 Scalar type names cannot be used as class, trait or interface names (6)
6 class bool {}
8 Fatal error: Cannot use 'bool' as class name as it is reserved in %s on line %d
/PHP-7.3/Zend/tests/closures/
H A Dclosure_from_callable_lsb.phpt6 class A {
8 var_dump(static::class);
12 class B extends A {
/PHP-7.3/ext/standard/tests/assert/
H A Dassert.phpt17 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-7.3/Zend/tests/anon/
H A D011.phpt2 Ensure proper inheritance with get_class(anon class instance) used via class_alias (see also bug #7…
6 class_alias(get_class(new class { protected $foo = 1; }), "AnonBase");
7 var_dump((new class extends AnonBase {

Completed in 26 milliseconds

1...<<11121314151617181920>>...151