Home
last modified time | relevance | path

Searched refs:self (Results 51 – 75 of 233) sorted by relevance

12345678910

/PHP-5.5/ext/phar/tests/files/
H A Dinclude_path2.phar116 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 Dopenssl.phar116 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-5.5/Zend/tests/
H A Dbug41633_1.phpt2 Bug #41633.1 (self:: doesn't work for constants)
6 const A = self::B;
H A Dbug41633_4.phpt2 Bug #41633.4 (self:: doesn't work for constants)
6 const A = self::B;
H A Dbug69017.phpt11 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 Dbug65419.phpt2 Bug #65419 (Inside trait, self::class != __CLASS__)
9 echo self::class, "\n";
H A Dbug60573.phpt2 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 Dzend2.php.txt22 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 Dbug63336.phpt10 public function bar($more=self::DUMMY) { return true; }
16 public function bar($var, $more=self::DUMMY) { return true; }
22 Strict Standards: Declaration of Child::bar() should be compatible with Base::bar($more = self::DUM…
H A Dclosure_055.phpt2 Closure 055: self::class in static closure in static method.
10 return self::class;
H A Dclosure_056.phpt2 Closure 056: self::class in non-static closure in static method.
10 return self::class;
H A Dbug41633_2.phpt6 const A = self::B;
11 Fatal error: Undefined class constant 'self::B' in %sbug41633_2.php on line 5
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 Dclosure_053.phpt2 Closure 053: self::class in static closure in non-static method.
10 return self::class;
H A Dclosure_054.phpt2 Closure 054: self::class in non-static closure in non-static method.
10 return self::class;
H A Dbug41633_3.phpt2 Bug #41633.3 (Crash instantiating classes with self-referencing constants)
12 Fatal error: Cannot declare self-referencing constant 'Foo::B' in %sbug41633_3.php on line %d
H A Dbug30451.phpt20 var_dump(self::method());
23 var_dump(self::$property);
H A Dbug60139.phpt19 $self = $this;
20 $this->x = function() use ($self) {};
H A Dbug37138.phpt2 Bug #37138 (__autoload tries to load callback'ed self and parent)
8 public static function e2 () {call_user_func (array ('self', 'e'));}
/PHP-5.5/tests/lang/
H A Dbug21849.phpt2 Bug #21849 (self::constant doesn't work as method's default parameter)
8 function foo($arg = self::bar) {
/PHP-5.5/tests/classes/
H A Dconstants_basic_005.phpt7 const CONST_2 = self::CONST_1;
8 const CONST_1 = self::BASE_CONST;
/PHP-5.5/main/streams/
H A Dmemory.c295 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()
561 php_stream_temp_data *self; in _php_stream_temp_create() local
564 self = ecalloc(1, sizeof(*self)); in _php_stream_temp_create()
566 self->mode = mode; in _php_stream_temp_create()
[all …]
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_debug.h31 enum_func_status (*open)(MYSQLND_DEBUG * self, zend_bool reopen);
32 void (*set_mode)(MYSQLND_DEBUG * self, const char * const mode);
33 enum_func_status (*log)(MYSQLND_DEBUG * self, unsigned int line, const char * const file,
35 enum_func_status (*log_va)(MYSQLND_DEBUG * self, unsigned int line, const char * const file,
37 zend_bool (*func_enter)(MYSQLND_DEBUG * self, unsigned int line, const char * const file,
39 …enum_func_status (*func_leave)(MYSQLND_DEBUG * self, unsigned int line, const char * const file, u…
40 enum_func_status (*close)(MYSQLND_DEBUG * self);
41 enum_func_status (*free_handle)(MYSQLND_DEBUG * self);
/PHP-5.5/ext/reflection/tests/
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;

Completed in 36 milliseconds

12345678910