Home
last modified time | relevance | path

Searched refs:self (Results 26 – 50 of 233) sorted by relevance

12345678910

/PHP-5.5/ext/standard/tests/class_object/
H A Dforward_static_call_001.phpt19 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 Dbug45186_2.phpt12 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 Derrmsg_030.phpt2 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 Dlsb_021.phpt2 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 Dbug43332_2.phpt2 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 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 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 Dobjects_024.phpt10 self::$bar[] = $b;
15 return self::$bar[count(self::$bar)-1];
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;
/PHP-5.5/ext/pdo_oci/
H A Doci_statement.c621 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 Ddualiterator.inc98 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 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-5.5/ext/spl/internal/
H A Drecursiveregexiterator.inc28 * @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 Dsingleton_001.phpt22 if (self::$m_instance == NULL) {
23 self::$m_instance = new Counter();
25 return self::$m_instance;
/PHP-5.5/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-5.5/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-5.5/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-5.5/ext/iconv/
H A Diconv.c2516 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 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 …]
/PHP-5.5/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 …]

Completed in 71 milliseconds

12345678910