Home
last modified time | relevance | path

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

12345678910>>...13

/PHP-7.1/Zend/tests/
H A Dbug38287.phpt29 self::get_object()->vars[]=1;
30 self::get_object()->vars[]=2;
31 self::get_object()->vars[]=3;
32 var_dump(self::get_object()->vars);
H A Dbug41026.phpt2 Bug #41026 (segfault when calling "self::method()" in shutdown functions)
10 register_shutdown_function (array ("self", "on_shutdown"));
26 Warning: (Registered shutdown functions) Unable to call self::on_shutdown() - function does not exi…
H A Dbug63336.phpt10 public function bar($more=self::DUMMY) { return true; }
16 public function bar($var, $more=self::DUMMY) { return true; }
22 …ning: Declaration of Child::bar($var, $more = self::DUMMY) should be compatible with Base::bar($mo…
H A Dlsb_018.phpt13 if (!isset(self::$instances[$caller])) {
14 self::$instances[$caller] = new $caller;
15 self::$instances[$caller]->instanceId = self::$nextInstanceId++;
17 return self::$instances[$caller];
H A Dclosure_037.phpt2 Closure 037: self:: and static:: within closures
11 self::printX();
12 self::print42();
H A Dbug50816.phpt12 public static $mapWithConst = array(self::ONE => 'one', self::TWO => 'two',);
14 public static $mapWithConst1 = array(1 => 'one', self::TWO => 'two',);
15 public static $mapWithConst2 = array(self::ONE => 'one', 1 => 'two',);
H A Dclass_properties_dynamic.phpt8 public $bar = self::BAR | self::BAZ;
H A Dbug41633_1.phpt2 Bug #41633.1 (self:: doesn't work for constants)
6 const A = self::B;
H A Dobjects_024.phpt10 self::$bar[] = $b;
15 return self::$bar[count(self::$bar)-1];
H A Dbug41633_4.phpt2 Bug #41633.4 (self:: doesn't work for constants)
6 const A = self::B;
/PHP-7.1/ext/spl/examples/
H A Dcallbackfilteriterator.inc42 public function __construct(Iterator $it, $callback, $mode = self::USE_VALUE, $flags = 0)
60 case self::USE_FALSE;
62 case self::USE_TRUE:
64 case self::USE_VALUE:
65 if($this->flags & self::REPLACE) {
70 case self::USE_KEY:
71 if($this->flags & self::REPLACE) {
77 if($this->flags & self::REPLACE) {
/PHP-7.1/tests/classes/
H A Dsingleton_001.phpt22 if (self::$m_instance == NULL) {
23 self::$m_instance = new Counter();
25 return self::$m_instance;
H A Dconstants_visibility_004.phpt12 var_dump(self::X);
13 var_dump(self::Y);
14 var_dump(self::Z);
/PHP-7.1/ext/openssl/tests/
H A DServerClientTestCase.inc33 if (!isset(self::$instance)) {
34 self::$instance = new self($isWorker);
37 return self::$instance;
42 if (!isset(self::$instance)) {
43 self::$instance = $this;
/PHP-7.1/ext/tokenizer/tests/
H A Dtoken_get_all_TOKEN_PARSE_002.phpt10 const CONTINUE = (self::CONST + 1);
11 const ARRAY = [1, self::CONTINUE => [3, 4], 5];
41 L4: T_STRING self
54 L5: T_STRING self
/PHP-7.1/ext/phar/phar/
H A Dclicommand.inc29 $this->cmds = self::getCommands($this);
30 $this->typs = self::getArgTyps($this);
33 self::error("No command given, check ${argv[0]} help\n");
83 self::error($missing);
97 self::notice($msg);
154 self::error("Argument to -$key must be an integer.\n");
186 self::error("Requested path '$arg' does not exist.\n");
208 self::error("Path for file '$arg' does not exist.\n");
292 self::error("More than one command given.\n");
298 self::cli_cmd_run_help_list();
[all …]
/PHP-7.1/ext/opcache/tests/
H A Dbug73789.phpt12 $type = self::T_NONE;
20 return self::T_STRING;
22 return self::T_DOT;
/PHP-7.1/ext/phar/tests/
H A Dphar_createdefaultstub.phpt152 fseek($fp, self::LEN);
174 if ($f & self::GZ) {
181 if ($f & self::BZ2) {
201 self::$temp = $temp;
228 include self::START;
468 if ($f & self::GZ) {
495 self::$temp = $temp;
522 include self::START;
770 if ($f & self::GZ) {
797 self::$temp = $temp;
[all …]
H A Dphar_setdefaultstub.phpt172 fseek($fp, self::LEN);
194 if ($f & self::GZ) {
201 if ($f & self::BZ2) {
221 self::$temp = $temp;
248 include self::START;
489 if ($f & self::GZ) {
516 self::$temp = $temp;
543 include self::START;
784 if ($f & self::GZ) {
811 self::$temp = $temp;
[all …]
/PHP-7.1/ext/sqlite3/tests/
H A Dstream_test.inc17 $ret = substr(self::$string, $this->position, $count);
29 return array('size' => self::$string_length);
39 return ($this->position >= self::$string_length);
/PHP-7.1/Zend/tests/use_const/
H A Dself_parent.phpt2 Allow self and parent in use const statement
7 use const self as foo;
/PHP-7.1/Zend/tests/use_function/
H A Dself_parent.phpt2 Allow self and parent in use function statement
7 use function self as foo;
/PHP-7.1/ext/iconv/
H A Diconv.c2596 iconv_close(self->cd); in php_iconv_stream_filter_dtor()
2597 pefree(self->to_charset, self->persistent); in php_iconv_stream_filter_dtor()
2598 pefree(self->from_charset, self->persistent); in php_iconv_stream_filter_dtor()
2622 if ((iconv_t)-1 == (self->cd = iconv_open(self->to_charset, self->from_charset))) { in php_iconv_stream_filter_ctor()
2628 self->stub_len = 0; in php_iconv_stream_filter_ctor()
2664 pt = self->stub; in php_iconv_stream_filter_append_bucket()
2665 tcnt = self->stub_len; in php_iconv_stream_filter_append_bucket()
2678 if (self->stub_len >= sizeof(self->stub)) { in php_iconv_stream_filter_append_bucket()
2682 self->stub[self->stub_len++] = *(ps++); in php_iconv_stream_filter_append_bucket()
2684 pt = self->stub; in php_iconv_stream_filter_append_bucket()
[all …]
/PHP-7.1/ext/reflection/tests/
H A DReflectionClassConstant_getValue.phpt8 const X = self::Y * 2;
12 const X = self::Y * 2;
16 const X = self::Y * 2;
/PHP-7.1/Zend/tests/return_types/
H A D025.phpt2 Return type of self is allowed in closure
6 $c = function(): self { return $this; };

Completed in 44 milliseconds

12345678910>>...13