Searched refs:self (Results 126 – 150 of 398) sorted by relevance
12345678910>>...16
/PHP-8.1/Zend/tests/ |
H A D | bug60573_2.phpt | 2 Bug #60573 (type hinting with "self" keyword causes weird errors) -- variation 2 7 public function setSelf(self $s) { } 46 public function setSelf(self $s) { }
|
H A D | restore_error_reporting.phpt | 7 @eval('class self {}'); 14 Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
|
H A D | bug41633_2.phpt | 6 const A = self::B; 11 Fatal error: Uncaught Error: Undefined constant self::B in %s:%d
|
H A D | bug41633_3.phpt | 2 Bug #41633.3 (Crash instantiating classes with self-referencing constants) 12 Fatal error: Uncaught Error: Cannot declare self-referencing constant Foo::B in %s:%d
|
H A D | bug69676.phpt | 2 Bug #69676: Resolution of self::FOO in class constants not correct 7 const myDynConst = self::myConst;
|
H A D | no_class_const_propagation_in_closures.phpt | 2 self:: class constants should not be propagated into closures, due to scope rebinding 11 return self::C;
|
H A D | bug30451.phpt | 20 var_dump(self::method()); 23 var_dump(self::$property);
|
H A D | bug60139.phpt | 19 $self = $this; 20 $this->x = function() use ($self) {};
|
H A D | bug48770_3.phpt | 20 call_user_func_array(array($this, 'self::func2'), array($str)); 21 call_user_func_array(array($this, 'self::func3'), array($str)); 24 call_user_func_array(array($this, 'self::inexistent'), array($str));
|
H A D | bug71622.phpt | 20 var_dump(is_callable("self::$method")); 21 self::$method();
|
H A D | bug70957.phpt | 2 Bug #70957 (self::class can not be resolved with reflection for abstract class) 8 function bar($a = self::class) {}
|
/PHP-8.1/Zend/tests/traits/ |
H A D | no_static_arg_binding.phpt | 2 Don't statically bind arguments for self:: calls in traits 11 self::method($i);
|
H A D | bug76539.phpt | 2 Bug #76539 (Trait attribute is set incorrectly when using self::class with another string) 6 protected $attr = self::class . 'Test';
|
/PHP-8.1/Zend/tests/return_types/ |
H A D | inheritance004.phpt | 2 Internal covariant return type of self 6 public static function test() : self {
|
/PHP-8.1/ext/ffi/tests/ |
H A D | list.phpt | 14 if (is_null(self::$ffi)) { 15 self::$ffi = 25 $node = FFI::addr(self::$ffi->new("dlist", false)); 44 $node = FFI::addr(self::$ffi->new("dlist", false));
|
/PHP-8.1/ext/reflection/tests/ |
H A D | ReflectionReference_bug78263.phpt | 2 Bug #78263: Handling of self-referential array special case 6 // The case of a directly self-referential array is special and will
|
H A D | bug53915.phpt | 8 const B = self::A; 17 const B = self::A;
|
H A D | gh11937_1.phpt | 9 const CASES = [self::One, self::Two];
|
H A D | bug45765.phpt | 2 Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error) 13 function test($a = self::BAR) { 54 Parameter #0 [ <optional> $a = self::BAR ]
|
/PHP-8.1/Zend/tests/type_declarations/variance/ |
H A D | static_variance_failure.phpt | 2 Failure case for static variance: Replace static with self 10 public function test(): self {}
|
/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_debug.h | 26 enum_func_status (*open)(MYSQLND_DEBUG * self, bool reopen); 27 void (*set_mode)(MYSQLND_DEBUG * self, const char * const mode); 28 enum_func_status (*log)(MYSQLND_DEBUG * self, unsigned int line, const char * const file, 31 MYSQLND_DEBUG * self, unsigned int line, const char * const file, 34 bool (*func_enter)(MYSQLND_DEBUG * self, unsigned int line, const char * const file, 36 …enum_func_status (*func_leave)(MYSQLND_DEBUG * self, unsigned int line, const char * const file, u… 37 enum_func_status (*close)(MYSQLND_DEBUG * self); 38 enum_func_status (*free_handle)(MYSQLND_DEBUG * self);
|
/PHP-8.1/Zend/tests/type_declarations/ |
H A D | typed_properties_043.phpt | 2 Trying to assign to a static 'self' typed property on a trait must not fixate the type to the trait 7 public static self $selfProp; 8 public static ?self $selfNullProp; 45 Cannot assign stdClass to property Test::$selfProp of type self 48 Cannot assign stdClass to property Test::$selfNullProp of type ?self
|
/PHP-8.1/tests/classes/ |
H A D | constants_visibility_002.phpt | 8 var_dump(self::protectedConst); 11 var_dump(self::protectedConst);
|
H A D | constants_visibility_003.phpt | 8 var_dump(self::privateConst); 11 var_dump(self::privateConst);
|
/PHP-8.1/ext/opcache/tests/jit/ |
H A D | noval_001.phpt | 19 if (self::X) { 22 if (self::X) {
|
Completed in 35 milliseconds
12345678910>>...16