Home
last modified time | relevance | path

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

12345678910>>...13

/PHP-7.1/ext/xmlwriter/
H A Dphp_xmlwriter.c703 if (self) { in php_xmlwriter_string_arg()
742 if (self) { in php_xmlwriter_end()
781 if (self) { in PHP_FUNCTION()
847 if (self) { in PHP_FUNCTION()
891 if (self) { in PHP_FUNCTION()
936 if (self) { in PHP_FUNCTION()
988 if (self) { in PHP_FUNCTION()
1048 if (self) { in PHP_FUNCTION()
1102 if (self) { in PHP_FUNCTION()
1173 if (self) { in PHP_FUNCTION()
[all …]
/PHP-7.1/ext/pdo_oci/
H A Doci_statement.c649 r = OCILobWrite(self->E->svc, self->E->err, self->lob, in oci_blob_write()
669 r = OCILobRead(self->E->svc, self->E->err, self->lob, in oci_blob_read()
692 OCILobClose(self->E->svc, self->E->err, self->lob); in oci_blob_close()
695 efree(self->E); in oci_blob_close()
696 efree(self); in oci_blob_close()
706 OCILobFlushBuffer(self->E->svc, self->E->err, self->lob, 0); in oci_blob_flush()
737 struct oci_lob_self *self = ecalloc(1, sizeof(*self)); in oci_create_lob_stream() local
740 self->lob = lob; in oci_create_lob_stream()
745 self->E->svc = self->S->H->svc; in oci_create_lob_stream()
746 self->E->err = self->S->err; in oci_create_lob_stream()
[all …]
/PHP-7.1/ext/zip/
H A Dphp_zip.c1425 if (self) { in ZIPARCHIVE_METHOD()
1478 if (!self) { in ZIPARCHIVE_METHOD()
1510 if (!self) { in ZIPARCHIVE_METHOD()
1553 if (!self) { in ZIPARCHIVE_METHOD()
1584 if (!self) { in ZIPARCHIVE_METHOD()
1639 if (!self) { in php_zip_add_from_pattern()
1759 if (!self) { in ZIPARCHIVE_METHOD()
1802 if (!self) { in ZIPARCHIVE_METHOD()
1860 if (!self) { in ZIPARCHIVE_METHOD()
1886 if (!self) { in ZIPARCHIVE_METHOD()
[all …]
/PHP-7.1/ext/spl/internal/
H A Dcachingiterator.inc47 function __construct(Iterator $it, $flags = self::CALL_TOSTRING)
49 …if ((($flags & self::CALL_TOSTRING) && ($flags & (self::TOSTRING_USE_KEY|self::TOSTRING_USE_CURREN…
50 …|| ((flags & (self::CIT_TOSTRING_USE_KEY|self::CIT_TOSTRING_USE_CURRENT)) == (self::CIT_TOSTRING_U…
74 if ($this->flags & self::CALL_TOSTRING) {
133 if ($this->flags & self::TOSTRING_USE_KEY)
137 else if ($this->flags & self::TOSTRING_USE_CURRENT)
141 if (!$this->flags & self::CALL_TOSTRING)
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-7.1/ext/reflection/tests/
H A Dbug71018.phpt10 return self::$data;
28 var_dump("T2::self = " . T2::getDataBySelf());
36 var_dump("T2::self = " . T2::getDataBySelf());
40 string(16) "T2::self = hello"
42 string(16) "T2::self = hello"
H A DReflectionObject_isInstantiable_variation.phpt8 return new ReflectionObject(new self);
15 return new ReflectionObject(new self);
22 return new ReflectionObject(new self);
29 return new ReflectionObject(new self);
36 return new ReflectionObject(new self);
43 return new ReflectionObject(new self);
50 return new ReflectionObject(new self);
/PHP-7.1/Zend/tests/return_types/
H A D024.phpt2 Return type of self is not allowed in function
6 function test(): self {}
8 Fatal error: Cannot use "self" when no class scope is active in %s on line 3
H A Dinheritance005.phpt2 Internal covariant return type of self
6 public static function test() : self {
12 public static function test() : self {
/PHP-7.1/Zend/tests/
H A Dself_class_const_outside_class.phpt2 Accessing self::FOO in a free function
6 var_dump(self::FOO);
10 Fatal error: Cannot use "self" when no class scope is active in %s on line %d
H A Dbug53748.phpt10 if (!isset(self::$instances[$serialize = serialize($config)])) {
11 self::$instances[$serialize] = new self($config);
13 return self::$instances[$serialize];
H A Dbug45186.phpt16 self::ABC();
20 call_user_func(array('self', 'y'));
21 call_user_func('self::y');
34 call_user_func('self::y');
54 Warning: call_user_func() expects parameter 1 to be a valid callback, cannot access self:: when no …
H A Dself_instanceof_outside_class.phpt2 instanceof self outside a class
8 new stdClass instanceof self;
17 Cannot access self:: when no class scope is active
H A Derrmsg_028.phpt2 errmsg: cannot use 'self' as class name
6 class self {
12 Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
H A Derrmsg_035.phpt2 errmsg: cannot use 'self' as interface name
6 class test implements self {
12 Fatal error: Cannot use 'self' as interface name as it is reserved in %s on line %d
H A Dspecial_name_error2.phpt6 use Foo\Bar as self;
10 Fatal error: Cannot use Foo\Bar as self because 'self' is a special class name in %s on line %d
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 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 Dclass_name_as_scalar_error_007.phpt2 Cannot access self::class when no class scope is active
6 var_dump(self::class);
10 Fatal error: Uncaught Error: Cannot use "self" when no class scope is active in %s:3
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 Dbug69676_2.phpt2 Bug #69676: Resolution of self::FOO in class constants not correct (variation)
8 const B = self::A . ' and ' . self::C;
/PHP-7.1/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-7.1/ext/bz2/
H A Dbz2.c148 just_read = BZ2_bzread(self->bz_file, buf, to_read); in php_bz2iop_read()
195 BZ2_bzclose(self->bz_file); in php_bz2iop_close()
198 if (self->stream) { in php_bz2iop_close()
202 efree(self); in php_bz2iop_close()
210 return BZ2_bzflush(self->bz_file); in php_bz2iop_flush()
228 struct php_bz2_stream_data_t *self; in _php_stream_bz2open_from_BZFILE() local
230 self = emalloc(sizeof(*self)); in _php_stream_bz2open_from_BZFILE()
232 self->stream = innerstream; in _php_stream_bz2open_from_BZFILE()
236 self->bz_file = bz; in _php_stream_bz2open_from_BZFILE()
642 struct php_bz2_stream_data_t *self; in php_bz2_error() local
[all …]
/PHP-7.1/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);

Completed in 38 milliseconds

12345678910>>...13