Searched refs:self (Results 76 – 100 of 316) sorted by relevance
12345678910>>...13
/PHP-7.1/Zend/tests/ |
H A D | special_name_error1.phpt | 6 namespace self; 10 Fatal error: Cannot use 'self' as namespace name in %s on line %d
|
H A D | bug32322.phpt | 2 Bug #32322 (Return values by reference broken( using self::),example singleton instance) 20 if ( self::$instance == null ) 22 self::$instance = new test('Singleton1'); 25 echo "Using old class " . self::$instance -> myname . "\n"; 27 return self::$instance;
|
H A D | bug65419.phpt | 2 Bug #65419 (Inside trait, self::class != __CLASS__) 9 echo self::class, "\n";
|
H A D | bug69017.phpt | 11 public static $a1 = array(self::ONE => 'one'); 12 public static $a2 = array(self::ZERO => 'zero'); 13 public static $a3 = array(self::MAX => 'zero');
|
H A D | special_name_error3.phpt | 6 trait self {} 10 Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
|
H A D | bug60573.phpt | 2 Bug #60573 (type hinting with "self" keyword causes weird errors) 7 public function setSelf(self $s) { } 46 public function setSelf(self $s) { } 52 public function setSelf(self $s) { }
|
H A D | closure_055.phpt | 2 Closure 055: self::class in static closure in static method. 9 return self::class;
|
H A D | closure_056.phpt | 2 Closure 056: self::class in non-static closure in static method. 9 return self::class;
|
H A D | zend2.php.txt | 22 if (self::$m_instance == NULL) { 23 self::$m_instance = new Counter(); 25 return self::$m_instance; 83 print "self::FATAL = " . self::FATAL; 198 $this->id = self::$id++; 205 $this->id = self::$id++;
|
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 | 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 | temporary_cleaning_012.phpt | 8 self::$property = new self;
|
/PHP-7.1/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 116 fseek($fp, self::LEN); 135 $info = self::_unpack($m); 138 if ($f & self::GZ) { 145 if ($f & self::BZ2) { 152 $temp = self::tmpdir(); 165 self::$temp = $temp; 166 self::$origdir = getcwd(); 192 include self::START; 254 if ($entry[4] & self::GZ) { 256 } elseif ($entry[4] & self::BZ2) { [all …]
|
H A D | openssl.phar | 116 fseek($fp, self::LEN); 135 $info = self::_unpack($m); 138 if ($f & self::GZ) { 145 if ($f & self::BZ2) { 152 $temp = self::tmpdir(); 165 self::$temp = $temp; 166 self::$origdir = getcwd(); 192 include self::START; 254 if ($entry[4] & self::GZ) { 256 } elseif ($entry[4] & self::BZ2) { [all …]
|
/PHP-7.1/ext/phar/tests/files/ |
H A D | include_path2.phar | 116 fseek($fp, self::LEN); 135 $info = self::_unpack($m); 138 if ($f & self::GZ) { 145 if ($f & self::BZ2) { 152 $temp = self::tmpdir(); 165 self::$temp = $temp; 166 self::$origdir = getcwd(); 192 include self::START; 254 if ($entry[4] & self::GZ) { 256 } elseif ($entry[4] & self::BZ2) { [all …]
|
H A D | nophar.phar | 116 fseek($fp, self::LEN); 135 $info = self::_unpack($m); 138 if ($f & self::GZ) { 145 if ($f & self::BZ2) { 152 $temp = self::tmpdir(); 165 self::$temp = $temp; 166 self::$origdir = getcwd(); 192 include self::START; 254 if ($entry[4] & self::GZ) { 256 } elseif ($entry[4] & self::BZ2) { [all …]
|
H A D | openssl.phar | 116 fseek($fp, self::LEN); 135 $info = self::_unpack($m); 138 if ($f & self::GZ) { 145 if ($f & self::BZ2) { 152 $temp = self::tmpdir(); 165 self::$temp = $temp; 166 self::$origdir = getcwd(); 192 include self::START; 254 if ($entry[4] & self::GZ) { 256 } elseif ($entry[4] & self::BZ2) { [all …]
|
/PHP-7.1/Zend/tests/type_declarations/ |
H A D | self_on_closure_in_method.phpt | 2 self return type on closure in a method 8 return function() : self {
|
/PHP-7.1/tests/lang/ |
H A D | bug21849.phpt | 2 Bug #21849 (self::constant doesn't work as method's default parameter) 8 function __construct($arg = self::bar) {
|
/PHP-7.1/Zend/tests/grammar/ |
H A D | semi_reserved_006.phpt | 18 private static function self(){ echo __METHOD__, PHP_EOL; } 35 TraitB::self as public; 52 Foo::self(); 65 TraitB::self
|
/PHP-7.1/main/streams/ |
H A D | memory.c | 295 php_stream_memory_data *self; in _php_stream_memory_create() local 298 self = emalloc(sizeof(*self)); in _php_stream_memory_create() 299 self->data = NULL; in _php_stream_memory_create() 300 self->fpos = 0; in _php_stream_memory_create() 301 self->fsize = 0; in _php_stream_memory_create() 302 self->smax = ~0u; in _php_stream_memory_create() 303 self->mode = mode; in _php_stream_memory_create() 569 php_stream_temp_data *self; in _php_stream_temp_create_ex() local 572 self = ecalloc(1, sizeof(*self)); in _php_stream_temp_create_ex() 574 self->mode = mode; in _php_stream_temp_create_ex() [all …]
|
/PHP-7.1/tests/classes/ |
H A D | constants_basic_005.phpt | 7 const CONST_2 = self::CONST_1; 8 const CONST_1 = self::BASE_CONST;
|
H A D | constants_visibility_001.phpt | 8 var_dump(self::publicConst); 11 var_dump(self::publicConst);
|
/PHP-7.1/Zend/tests/return_types/ |
H A D | 021.phpt | 2 Return type allows self 6 public static function getInstance() : self {
|
Completed in 42 milliseconds
12345678910>>...13