/PHP-7.1/Zend/tests/ |
H A D | bug38287.phpt | 29 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 D | bug41026.phpt | 2 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 D | bug63336.phpt | 10 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 D | lsb_018.phpt | 13 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 D | closure_037.phpt | 2 Closure 037: self:: and static:: within closures 11 self::printX(); 12 self::print42();
|
H A D | bug50816.phpt | 12 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 D | class_properties_dynamic.phpt | 8 public $bar = self::BAR | self::BAZ;
|
H A D | bug41633_1.phpt | 2 Bug #41633.1 (self:: doesn't work for constants) 6 const A = self::B;
|
H A D | objects_024.phpt | 10 self::$bar[] = $b; 15 return self::$bar[count(self::$bar)-1];
|
H A D | bug41633_4.phpt | 2 Bug #41633.4 (self:: doesn't work for constants) 6 const A = self::B;
|
/PHP-7.1/ext/spl/examples/ |
H A D | callbackfilteriterator.inc | 42 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 D | singleton_001.phpt | 22 if (self::$m_instance == NULL) { 23 self::$m_instance = new Counter(); 25 return self::$m_instance;
|
H A D | constants_visibility_004.phpt | 12 var_dump(self::X); 13 var_dump(self::Y); 14 var_dump(self::Z);
|
/PHP-7.1/ext/openssl/tests/ |
H A D | ServerClientTestCase.inc | 33 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 D | token_get_all_TOKEN_PARSE_002.phpt | 10 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 D | clicommand.inc | 29 $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 D | bug73789.phpt | 12 $type = self::T_NONE; 20 return self::T_STRING; 22 return self::T_DOT;
|
/PHP-7.1/ext/phar/tests/ |
H A D | phar_createdefaultstub.phpt | 152 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 D | phar_setdefaultstub.phpt | 172 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 D | stream_test.inc | 17 $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 D | self_parent.phpt | 2 Allow self and parent in use const statement 7 use const self as foo;
|
/PHP-7.1/Zend/tests/use_function/ |
H A D | self_parent.phpt | 2 Allow self and parent in use function statement 7 use function self as foo;
|
/PHP-7.1/ext/iconv/ |
H A D | iconv.c | 2596 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 D | ReflectionClassConstant_getValue.phpt | 8 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 D | 025.phpt | 2 Return type of self is allowed in closure 6 $c = function(): self { return $this; };
|