/PHP-5.5/ext/standard/tests/class_object/ |
H A D | forward_static_call_001.phpt | 19 echo self::NAME, "\n"; 24 echo self::NAME, "\n"; 25 forward_static_call(array('self', 'test')); 29 echo self::NAME, "\n"; 40 echo self::NAME, "\n";
|
/PHP-5.5/Zend/tests/ |
H A D | bug45186_2.phpt | 12 self::ABC(); 16 call_user_func(array('self', 'y')); 17 call_user_func('self::y'); 30 call_user_func('self::y'); 50 Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access self:: when no …
|
H A D | errmsg_030.phpt | 2 errmsg: cannot use 'self' as parent class name 6 class test extends self { 12 Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
|
H A D | lsb_021.phpt | 2 ZE2 Late Static Binding parent::/self:: forwarding while classname doesn't 16 self::test(); 17 call_user_func("self::test"); 18 call_user_func(array("self", "test"));
|
H A D | bug43332_2.phpt | 2 Bug #43332.2 (self and parent as type hint in namespace) 8 public function bar(\self $a) { } 15 Fatal error: '\self' is an invalid class name in %sbug43332_2.php on line 5
|
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 | 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 | objects_024.phpt | 10 self::$bar[] = $b; 15 return self::$bar[count(self::$bar)-1];
|
H A D | bug32322.phpt | 2 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;
|
/PHP-5.5/ext/pdo_oci/ |
H A D | oci_statement.c | 621 r = OCILobWrite(self->S->H->svc, self->S->err, self->lob, in oci_blob_write() 630 self->offset += amt; in oci_blob_write() 641 r = OCILobRead(self->S->H->svc, self->S->err, self->lob, in oci_blob_read() 649 self->offset += amt; in oci_blob_read() 662 OCILobClose(self->S->H->svc, self->S->err, self->lob); in oci_blob_close() 663 efree(self); in oci_blob_close() 673 OCILobFlushBuffer(self->S->H->svc, self->S->err, self->lob, 0); in oci_blob_flush() 704 struct oci_lob_self *self = ecalloc(1, sizeof(*self)); in oci_create_lob_stream() local 705 self->lob = lob; in oci_create_lob_stream() 707 self->stmt = stmt; in oci_create_lob_stream() [all …]
|
/PHP-5.5/ext/spl/examples/ |
H A D | dualiterator.inc | 98 case self::CURRENT_ARRAY: 100 case self::CURRENT_LHS: 102 case self::CURRENT_RHS: 104 case self::CURRENT_0: 116 case self::KEY_LHS: 118 case self::KEY_RHS: 120 case self::KEY_0: 173 self::CURRENT_0 | self::KEY_0); 183 $it = new DualIterator($lhs, $rhs, self::CURRENT_0 | self::KEY_0);
|
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-5.5/ext/spl/internal/ |
H A D | recursiveregexiterator.inc | 28 * @param mode operation mode (one of self::MATCH, self::GET_MATCH, 29 * self::ALL_MATCHES, self::SPLIT) 30 * @param flags special flags (self::USE_KEY)
|
/PHP-5.5/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;
|
/PHP-5.5/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-5.5/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-5.5/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-5.5/ext/iconv/ |
H A D | iconv.c | 2516 iconv_close(self->cd); in php_iconv_stream_filter_dtor() 2517 pefree(self->to_charset, self->persistent); in php_iconv_stream_filter_dtor() 2518 pefree(self->from_charset, self->persistent); in php_iconv_stream_filter_dtor() 2542 if ((iconv_t)-1 == (self->cd = iconv_open(self->to_charset, self->from_charset))) { in php_iconv_stream_filter_ctor() 2548 self->stub_len = 0; in php_iconv_stream_filter_ctor() 2584 pt = self->stub; in php_iconv_stream_filter_append_bucket() 2585 tcnt = self->stub_len; in php_iconv_stream_filter_append_bucket() 2598 if (self->stub_len >= sizeof(self->stub)) { in php_iconv_stream_filter_append_bucket() 2602 self->stub[self->stub_len++] = *(ps++); in php_iconv_stream_filter_append_bucket() 2604 pt = self->stub; in php_iconv_stream_filter_append_bucket() [all …]
|
/PHP-5.5/ext/phar/tests/files/ |
H A D | nophar.phar | 116 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/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 116 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 D | openssl.phar | 116 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 …]
|