Searched refs:self (Results 76 – 100 of 328) sorted by relevance
12345678910>>...14
13 self::$a;18 self::$b;23 self::$c;
15 if (self::$max-- <= 0) return;17 self::$b = new b;18 self::$new[] = new a;
10 self::$bar[] = $b;15 return self::$bar[count(self::$bar)-1];
6 trait self {}10 Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
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;
2 Closure 055: self::class in static closure in static method.9 return self::class;
2 Closure 056: self::class in non-static closure in static method.9 return self::class;
11 public static $a1 = array(self::ONE => 'one');12 public static $a2 = array(self::ZERO => 'zero');13 public static $a3 = array(self::MAX => 'zero');
2 Closure 053: self::class in static closure in non-static method.9 return self::class;
2 Closure 054: self::class in non-static closure in non-static method.9 return self::class;
8 self::$property = new self;
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) { }
2 Bug #21849 (self::constant doesn't work as method's default parameter)8 function __construct($arg = self::bar) {
7 const C = self::UNKNOWN;17 Undefined class constant 'self::UNKNOWN'
7 const X = self::UNKNOWN;18 Undefined class constant 'self::UNKNOWN'
7 const CONST_2 = self::CONST_1;8 const CONST_1 = self::BASE_CONST;
8 var_dump(self::publicConst);11 var_dump(self::publicConst);
2 Return type allows self6 public static function getInstance() : self {
7 public $x = self::X;10 public $x = self::X;
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 …]
2583 iconv_close(self->cd); in php_iconv_stream_filter_dtor()2584 pefree(self->to_charset, self->persistent); in php_iconv_stream_filter_dtor()2585 pefree(self->from_charset, self->persistent); in php_iconv_stream_filter_dtor()2604 if ((iconv_t)-1 == (self->cd = iconv_open(self->to_charset, self->from_charset))) { in php_iconv_stream_filter_ctor()2610 self->stub_len = 0; in php_iconv_stream_filter_ctor()2644 pt = self->stub; in php_iconv_stream_filter_append_bucket()2645 tcnt = self->stub_len; in php_iconv_stream_filter_append_bucket()2658 if (self->stub_len >= sizeof(self->stub)) { in php_iconv_stream_filter_append_bucket()2662 self->stub[self->stub_len++] = *(ps++); in php_iconv_stream_filter_append_bucket()2664 pt = self->stub; in php_iconv_stream_filter_append_bucket()[all …]
Completed in 39 milliseconds