Home
last modified time | relevance | path

Searched refs:self (Results 151 – 175 of 316) sorted by relevance

12345678910>>...13

/PHP-7.1/ext/reflection/tests/
H A DReflectionParameter_DefaultValueConstant_basic1.phpt31 public function baz($param1 = self::bar, $param2=Foo2::bar, $param3=CONST_TEST_1) {
50 string(9) "self::bar"
H A Dstatic_properties_002.phpt10 echo __METHOD__ . '(' . self::$prop . ")\n";
23 echo __METHOD__ . '(' . self::$prop . ")\n";
H A Dbug45765.phpt2 Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error)
13 function test($a = self::BAR) {
H A Dbug70982.phpt9 var_dump(self::$abc);
H A DReflectionType_001.phpt10 function bar(self $x): int { return 1; }
12 function factory(): self { return new c; }
143 string(4) "self"
172 string(4) "self"
/PHP-7.1/Zend/tests/
H A Dobjects_022.phpt2 Testing 'self', 'parent' as type-hint
13 public function testFoo(self $obj) {
H A Dbug70918.phpt18 self::x;
44 string(50) "Cannot access self:: when no class scope is active"
H A Dbug41640.phpt7 public $x = self::FOO;
H A Dinter_03.phpt11 const c = self::b;
H A Dbug53347.phpt10 return isset( self::${$type}[$key] );
H A Dbug70958.phpt7 function bar($a = self::class) {
H A Dbug69568.phpt12 return self::testprivate();
H A Dbug42772.phpt8 self::$foo = $this;
/PHP-7.1/tests/classes/
H A Dclone_006.phpt14 $this->id = self::$id++;
19 $this->id = self::$id++;
/PHP-7.1/ext/spl/tests/
H A Diterator_047.phpt12 if (self::$fail == $state)
21 self::fail(1, __METHOD__);
28 self::fail(2, __METHOD__);
/PHP-7.1/ext/spl/internal/
H A Drecursivetreeiterator.inc33 …t(RecursiveIterator $it, $rit_flags = self::BYPASS_KEY, $cit_flags = CachingIterator::CATCH_GET_CH…
100 if ($this->rit_flags & self::BYPASS_CURRENT)
114 if ($this->rit_flags & self::BYPASS_KEY)
H A Dmultipleiterator.inc42 public function __construct($flags = self::MIT_NEED_ALL|self::MIT_KEYS_NUMERIC)
129 $expect = $this->flags & self::MIT_NEED_ALL ? true : false;
168 if ($this->flags & self::MIT_KEYS_ASSOC)
182 else if ($this->flags & self::MIT_NEED_ALL)
212 else if ($this->flags & self::MIT_NEED_ALL)
H A Dspldoublylinkedlist.inc147 if ($this->_it_mode & self::IT_MODE_LIFO) {
179 if ($this->_it_mode & self::IT_MODE_LIFO) {
180 if ($this->_it_mode & self::IT_MODE_DELETE) {
185 if ($this->_it_mode & self::IT_MODE_DELETE) {
216 if ($this->_it_mode & self::IT_MODE_LIFO) {
242 if ($this->_it_mode & self::IT_MODE_LIFO) {
263 if ($this->_it_mode & self::IT_MODE_LIFO) {
H A Drecursiveiteratoriterator.inc37 private $mode = self::LEAVES_ONLY;
53 function __construct(RecursiveIterator $it, $mode = self::LEAVES_ONLY, $flags = 0)
120 if (!($this->flags & self::CATCH_GET_CHILD))
219 if (($this->mode == self::SELF_FIRST && $this->callHasChildren())
220 || $this->mode == self::LEAVES_ONLY)
/PHP-7.1/ext/tokenizer/tests/
H A Dtoken_get_all_TOKEN_PARSE_001.phpt18 public $x = self::CONTINUE + 1;
81 L12: T_STRING self
/PHP-7.1/ext/standard/tests/serialize/
H A Dunserialize_mem_leak.phpt2 Memleaks if unserialize return a self-referenced array/object
/PHP-7.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_fetchobject.phpt43 self::$static_set_calls, $this->set_calls);
50 $prop, var_export($value, true), $this->set_calls, self::$static_set_calls);
58 self::$static_set_calls++;
/PHP-7.1/
H A DREADME.SELF-CONTAINED-EXTENSIONS6 A self-contained extension can be distributed independently of
32 Just to show you how easy it is to create a self-contained
34 self-contained one. Install PHP and execute the following
82 self-contained extension, you do not need more than a few
128 And that's it. You now have a self-contained extension.
140 In order to be useful, a self-contained extension must be loadable
/PHP-7.1/ext/standard/tests/assert/
H A Dbug73303.phpt10 assert('self::checkCacheKey(get_object_vars($this))');
/PHP-7.1/ext/standard/tests/streams/
H A Dbug49936.phpt11 $dir = 'ftp://your:self@localhost/';

Completed in 66 milliseconds

12345678910>>...13