Home
last modified time | relevance | path

Searched refs:self (Results 76 – 100 of 328) sorted by relevance

12345678910>>...14

/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_080.phpt13 self::$a;
18 self::$b;
23 self::$c;
/PHP-7.4/Zend/tests/
H A Dbug74053.phpt15 if (self::$max-- <= 0) return;
17 self::$b = new b;
18 self::$new[] = new a;
H A Dobjects_024.phpt10 self::$bar[] = $b;
15 return self::$bar[count(self::$bar)-1];
H A Dspecial_name_error3.phpt6 trait self {}
10 Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
H A Dbug32322.phpt2 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 Dclosure_055.phpt2 Closure 055: self::class in static closure in static method.
9 return self::class;
H A Dclosure_056.phpt2 Closure 056: self::class in non-static closure in static method.
9 return self::class;
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 Dclosure_053.phpt2 Closure 053: self::class in static closure in non-static method.
9 return self::class;
H A Dclosure_054.phpt2 Closure 054: self::class in non-static closure in non-static method.
9 return self::class;
H A Dtemporary_cleaning_012.phpt8 self::$property = new self;
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) { }
/PHP-7.4/tests/lang/
H A Dbug21849.phpt2 Bug #21849 (self::constant doesn't work as method's default parameter)
8 function __construct($arg = self::bar) {
/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_toString_004.phpt7 const C = self::UNKNOWN;
17 Undefined class constant 'self::UNKNOWN'
H A DReflectionClassConstant_toString_error.phpt7 const X = self::UNKNOWN;
18 Undefined class constant 'self::UNKNOWN'
/PHP-7.4/tests/classes/
H A Dconstants_basic_005.phpt7 const CONST_2 = self::CONST_1;
8 const CONST_1 = self::BASE_CONST;
H A Dconstants_visibility_001.phpt8 var_dump(self::publicConst);
11 var_dump(self::publicConst);
/PHP-7.4/Zend/tests/return_types/
H A D021.phpt2 Return type allows self
6 public static function getInstance() : self {
/PHP-7.4/Zend/tests/traits/
H A Dbug74922c.phpt7 public $x = self::X;
10 public $x = self::X;
/PHP-7.4/ext/phar/tests/cache_list/files/
H A Dnophar.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-7.4/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 Dnophar.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-7.4/ext/iconv/
H A Diconv.c2583 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

12345678910>>...14