Searched refs:self (Results 126 – 150 of 418) sorted by relevance
12345678910>>...17
/PHP-8.2/Zend/tests/ |
H A D | closure_053.phpt | 2 Closure 053: self::class in static closure in non-static method. 9 return self::class;
|
H A D | closure_054.phpt | 2 Closure 054: self::class in non-static closure in non-static method. 9 return self::class;
|
H A D | magic_methods_021.phpt | 7 public static function __set_state(array $data): self {} 15 public static function __set_state(array $data): Foo3|self {}
|
H A D | temporary_cleaning_012.phpt | 8 self::$property = new self;
|
H A D | class_name_as_scalar.phpt | 9 const A = self::class; 14 var_dump(self::class); // self compile time lookup 23 $one = self::class, 26 $four = self::B
|
H A D | bug66015.phpt | 12 self::FIRST => 'first', 20 var_export(self::$array);
|
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 | bug69676.phpt | 2 Bug #69676: Resolution of self::FOO in class constants not correct 7 const myDynConst = self::myConst;
|
H A D | bug41633_2.phpt | 6 const A = self::B; 11 Fatal error: Uncaught Error: Undefined constant self::B in %s:%d
|
/PHP-8.2/tests/classes/ |
H A D | constants_visibility_001.phpt | 8 var_dump(self::publicConst); 11 var_dump(self::publicConst);
|
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.2/Zend/tests/traits/ |
H A D | bug74922c.phpt | 7 public $x = self::X; 10 public $x = self::X;
|
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.2/ext/openssl/tests/ |
H A D | ServerClientTestCase.inc | 47 if (!isset(self::$instance)) { 48 self::$instance = new self($isWorker); 51 return self::$instance; 56 if (!isset(self::$instance)) { 57 self::$instance = $this;
|
/PHP-8.2/ext/pdo_mysql/tests/inc/ |
H A D | mysql_pdo_test.inc | 12 $dsn = self::getDSN($mydsn); 35 return self::factory('PDO', null, $attr); 85 return self::extractVersion($db->getAttribute(PDO::ATTR_CLIENT_VERSION)); 89 return self::extractVersion($db->getAttribute(PDO::ATTR_SERVER_VERSION)); 166 $db = self::factory(); 173 $db = self::factory(); 187 $db = self::factory(); 202 if (!self::isPDOMySQLnd()) die($message); 206 $db = self::factory(); 208 if (false == self::detect_transactional_mysql_engine($db)) die($message);
|
/PHP-8.2/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.2/Zend/tests/return_types/ |
H A D | inheritance004.phpt | 2 Internal covariant return type of self 6 public static function test() : self {
|
/PHP-8.2/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.2/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;
|
/PHP-8.2/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.2/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
|
Completed in 47 milliseconds
12345678910>>...17