Home
last modified time | relevance | path

Searched refs:self (Results 101 – 125 of 328) sorted by relevance

12345678910>>...14

/PHP-7.4/Zend/tests/grammar/
H A Dsemi_reserved_006.phpt18 private static function self(){ echo __METHOD__, PHP_EOL; }
35 TraitB::self as public;
52 Foo::self();
65 TraitB::self
/PHP-7.4/Zend/tests/traits/
H A Dno_static_arg_binding.phpt2 Don't statically bind arguments for self:: calls in traits
11 self::method($i);
H A Dbug76539.phpt2 Bug #76539 (Trait attribute is set incorrectly when using self::class with another string)
6 protected $attr = self::class . 'Test';
/PHP-7.4/Zend/tests/
H A Dbug41633_2.phpt6 const A = self::B;
11 Fatal error: Uncaught Error: Undefined class constant 'self::B' in %sbug41633_2.php:5
H A Dbug66015.phpt12 self::FIRST => 'first',
20 var_export(self::$array);
H A Dclass_name_as_scalar.phpt9 const A = self::class;
14 var_dump(self::class); // self compile time lookup
23 $one = self::class,
26 $four = self::B
H A Dbug69676.phpt2 Bug #69676: Resolution of self::FOO in class constants not correct
7 const myDynConst = self::myConst;
H A Dbug41633_3.phpt2 Bug #41633.3 (Crash instantiating classes with self-referencing constants)
12 Fatal error: Uncaught Error: Cannot declare self-referencing constant 'Foo::B' in %sbug41633_3.php:…
H A Dbug30451.phpt20 var_dump(self::method());
23 var_dump(self::$property);
H A Dno_class_const_propagation_in_closures.phpt2 self:: class constants should not be propagated into closures, due to scope rebinding
11 return self::C;
H A Dbug60139.phpt19 $self = $this;
20 $this->x = function() use ($self) {};
H A Dbug70957.phpt2 Bug #70957 (self::class can not be resolved with reflection for abstract class)
8 function bar($a = self::class) {}
H A Dbug71622.phpt20 var_dump(is_callable("self::$method"));
21 self::$method();
/PHP-7.4/Zend/tests/return_types/
H A Dinheritance004.phpt2 Internal covariant return type of self
6 public static function test() : self {
/PHP-7.4/ext/reflection/tests/
H A DReflectionReference_bug78263.phpt2 Bug #78263: Handling of self-referential array special case
6 // The case of a directly self-referential array is special and will
H A Dbug39884.phpt2 Bug #39884 (ReflectionParameter::getClass() throws exception for type hint self)
7 function paramTest(self $param)
H A Dbug53915.phpt8 const B = self::A;
17 const B = self::A;
/PHP-7.4/ext/openssl/tests/
H A DServerClientTestCase.inc47 if (!isset(self::$instance)) {
48 self::$instance = new self($isWorker);
51 return self::$instance;
56 if (!isset(self::$instance)) {
57 self::$instance = $this;
/PHP-7.4/main/streams/
H A Dmemory.c302 php_stream_memory_data *self; in _php_stream_memory_create() local
305 self = emalloc(sizeof(*self)); in _php_stream_memory_create()
306 self->data = NULL; in _php_stream_memory_create()
307 self->fpos = 0; in _php_stream_memory_create()
308 self->fsize = 0; in _php_stream_memory_create()
309 self->smax = ~0u; in _php_stream_memory_create()
310 self->mode = mode; in _php_stream_memory_create()
576 php_stream_temp_data *self; in _php_stream_temp_create_ex() local
579 self = ecalloc(1, sizeof(*self)); in _php_stream_temp_create_ex()
581 self->mode = mode; in _php_stream_temp_create_ex()
[all …]
/PHP-7.4/tests/classes/
H A Dconstants_visibility_002.phpt8 var_dump(self::protectedConst);
11 var_dump(self::protectedConst);
H A Dconstants_visibility_003.phpt8 var_dump(self::privateConst);
11 var_dump(self::privateConst);
H A Dproperty_override_privateStatic_privateStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
H A Dproperty_override_privateStatic_protectedStatic.phpt10 echo self::$p . "\n";
19 echo self::$p . "\n";
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_debug.h28 enum_func_status (*open)(MYSQLND_DEBUG * self, zend_bool reopen);
29 void (*set_mode)(MYSQLND_DEBUG * self, const char * const mode);
30 enum_func_status (*log)(MYSQLND_DEBUG * self, unsigned int line, const char * const file,
32 enum_func_status (*log_va)(MYSQLND_DEBUG * self, unsigned int line, const char * const file,
34 zend_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-7.4/ext/standard/tests/streams/
H A Dbug77664.phpt7 public $var = self::INVALID;
13 Fatal error: Uncaught Error: Undefined class constant 'self::INVALID' in %sbug77664.php:%d

Completed in 31 milliseconds

12345678910>>...14