Home
last modified time | relevance | path

Searched refs:public (Results 1 – 25 of 2800) sorted by relevance

12345678910>>...112

/PHP-8.3/Zend/tests/
H A Dmagic_methods_inheritance_rules.phpt10 public function __clone(): void {}
12 public function __debugInfo(): ?array {}
14 public function __get(string $name): mixed {}
16 public function __invoke(mixed $arguments): mixed {}
18 public function __isset(string $name): bool {}
20 public function __serialize(): array {}
26 public function __sleep(): array {}
28 public function __toString(): string {}
32 public function __unset(string $name): void {}
34 public function __wakeup(): void {}
[all …]
H A Dgh10072.phpt13 public $context;
16 public $handle;
19 public function stream_cast(int $castAs)
25 public function stream_close(): void
35 public function stream_read(int $count)
53 public function stream_stat()
59 public function stream_tell()
65 public function stream_truncate(int $newSize): bool
71 public function stream_write(string $data)
76 public function unlink(string $path): bool
[all …]
H A Dbug80391.phpt7 public function method1(): mixed {}
8 public function method2(): array|object {}
9 public function method3(iterable $x) {}
10 public function method4(iterable $x) {}
14 public function method1(): iterable {}
15 public function method2(): iterable {}
16 public function method3(mixed $x) {}
17 public function method4(array|object $x) {}
H A Dbug52614.phpt6 public $a1;
7 public $a2 = array();
8 public $a3;
9 public $o1;
10 public $o2;
12 public function f1() {
16 public function f2() {
20 public function f3() {
25 public function f4() {
29 public function f5() {
[all …]
/PHP-8.3/Zend/tests/attributes/override/
H A D001.phpt7 public function i();
12 public function i();
16 public function p1() {}
17 public function p2() {}
18 public function p3() {}
19 public function p4() {}
24 public function p1() {}
25 public function p2() {}
27 public function p3() {}
32 public function i() {}
[all …]
/PHP-8.3/ext/reflection/tests/
H A DReflectionClass_toString_001.phpt15 Constant [ public int IS_IMPLICIT_ABSTRACT ] { 16 }
16 Constant [ public int IS_EXPLICIT_ABSTRACT ] { 64 }
17 Constant [ public int IS_FINAL ] { 32 }
18 Constant [ public int IS_READONLY ] { 65536 }
28 Property [ public string $name ]
53 Method [ <internal:Reflection> public method getName ] {
60 Method [ <internal:Reflection> public method isInternal ] {
130 Method [ <internal:Reflection> public method hasMethod ] {
260 Method [ <internal:Reflection> public method isTrait ] {
267 Method [ <internal:Reflection> public method isEnum ] {
[all …]
/PHP-8.3/ext/opcache/tests/
H A Dpreload_variance.inc6 public function method(X $a) {}
9 public function method($a) : X {}
14 public function method($a): self {}
15 public function method2($a): C {}
17 public function method4(D $a) {}
21 public function method2($a): D {}
23 public function method4(C $a) {}
30 public I|J $prop;
31 public function method($a): I {}
34 public J|I $prop;
[all …]
/PHP-8.3/tests/output/
H A DDummyStreamWrapper.inc6 public $context;
9 public $handle;
11 public function stream_cast(int $castAs)
16 public function stream_close(): void { }
23 public function stream_read(int $count)
28 public function stream_seek(int $offset, int $whence = SEEK_SET): bool
39 public function stream_stat()
44 public function stream_tell()
49 public function stream_truncate(int $newSize): bool
54 public function stream_write(string $data) { }
[all …]
/PHP-8.3/Zend/tests/return_types/
H A D043.phpt6 public function __get($name): bool {}
7 public function __call($name, $args): string {}
8 public static function __callStatic($name, $args): self {}
9 public function __invoke(): self {}
13 public function __get($name): string|array {}
14 public function __call($name, $args): int|float {}
16 public function __invoke(): Foo|int {}
20 public function __get($name): mixed {}
21 public function __call($name, $args): mixed {}
22 public static function __callStatic($name, $args): mixed {}
[all …]
/PHP-8.3/Zend/tests/type_declarations/variance/
H A Dstatic_variance_success.phpt7 public function test1(): self {}
8 public function test2(): B {}
9 public function test3(): object {}
10 public function test4(): X|Y|self {}
11 public function test5(): ?static {}
15 public function test1(): static {}
16 public function test2(): static {}
17 public function test3(): static {}
18 public function test4(): X|Y|static {}
19 public function test5(): static {}
/PHP-8.3/Zend/tests/type_declarations/union_types/variance/
H A Dvalid.phpt10 public X|Y $prop;
11 public iterable $prop2;
13 public function method(int $a): int|float {}
14 public function method2(B|string $a): A|string {}
15 public function method3(Y|B $a): X|A {}
16 public function method4(Traversable|X $a): iterable|X {}
19 public X $prop;
20 public array|Traversable $prop2;
22 public function method(int|float $a): int {}
23 public function method2(A|string $a): B|string {}
[all …]
/PHP-8.3/Zend/tests/variadic/
H A Dlegal_variadic_override.phpt7 public function test1($a, $b) {}
8 public function test2(int $a, int $b) {}
9 public function test3(int $a, int $b) {}
10 public function test4(int $a, string $b) {}
11 public function test5(&$a, &$b) {}
15 public function test1(...$args) {}
16 public function test2(...$args) {}
17 public function test3(int ...$args) {}
18 public function test4(int|string ...$args) {}
19 public function test5(&...$args) {}
/PHP-8.3/tests/lang/
H A Dbug27439.phpt7 public $a = 1;
8 public $b = 2;
9 public $c = 3;
13 public $array = array(1,2,3);
14 public $string = "string";
15 public $object;
29 public function case1() {
35 public function case2() {
39 public function case3() {
43 public function case4() {
[all …]
/PHP-8.3/Zend/tests/type_declarations/
H A Dadd_return_type.phpt7 public function a();
8 public function b();
9 public function c();
10 public function d();
14 public function a() : stdClass;
15 public function c() : callable;
16 public function b() : array;
17 public function d() : int;
H A Dtyped_class_constants_inheritance_success1.phpt6 public const CONST1 = 1;
7 public const CONST2 = 1;
8 public const mixed CONST3 = 1;
9 public const iterable CONST4 = [];
13 public const int CONST1 = 0;
14 public const mixed CONST2 = 0;
15 public const mixed CONST3 = 0;
16 public const array CONST4 = [];
H A Dtyped_class_constants_inheritance_success2.phpt6 public function __toString() {
14 public const object CONST1 = S;
15 public const S CONST2 = S;
16 public const S|Stringable CONST3 = S;
17 public const S CONST4 = S;
18 public const ?S CONST5 = S;
22 public const S CONST1 = Z;
23 public const Z CONST2 = Z;
24 public const S CONST3 = Z;
25 public const S&Stringable CONST4 = Z;
[all …]
H A Dtyped_class_constants_inheritance_success4.phpt13 public const int CONST1 = 1;
14 public const ?array CONST2 = [];
15 public const E CONST3 = E::Case1;
16 public const stdClass CONST4 = G;
22 public const int CONST1 = 1;
23 public const ?array CONST2 = [];
24 public const E CONST3 = E::Case1;
25 public const stdClass CONST4 = G;
/PHP-8.3/Zend/tests/type_declarations/mixed/validation/
H A Dmixed_property_weak_success.phpt8 public mixed $property1;
9 public mixed $property2 = null;
10 public mixed $property3 = false;
11 public mixed $property4 = true;
12 public mixed $property5 = 1;
13 public mixed $property6 = 3.14;
14 public mixed $property7 = "foo";
15 public mixed $property8 = [];
16 public mixed $property9;
18 public function __construct()
H A Dmixed_property_strict_success.phpt9 public mixed $property1;
10 public mixed $property2 = null;
11 public mixed $property3 = false;
12 public mixed $property4 = true;
13 public mixed $property5 = 1;
14 public mixed $property6 = 3.14;
15 public mixed $property7 = "foo";
16 public mixed $property8 = [];
17 public mixed $property9;
19 public function __construct()
/PHP-8.3/Zend/tests/closures/
H A Dclosure_from_callable.inc51 public function publicInstanceFunc($param1)
56 public function closePrivateValid()
61 public function closePrivateStatic()
66 public function bar($param1)
71 public function getCallable()
76 public function getSelfPublicInstance()
91 public function closePrivateStaticInvalid()
97 public function closePrivateInvalid()
107 public function closeProtectedValid()
137 public function __call($name, $arguments)
[all …]
/PHP-8.3/Zend/tests/type_declarations/mixed/inheritance/
H A Dmixed_return_inheritance_success2.phpt8 public function method(): mixed {}
13 public function method(): bool {}
18 public function method(): int {}
23 public function method(): float {}
28 public function method(): string {}
33 public function method(): array {}
38 public function method(): object {}
43 public function method(): stdClass {}
48 public function method(): ?int {}
53 public function method(): ?stdClass {}
/PHP-8.3/ext/sqlite3/tests/
H A Dstream_test.inc5 public $context;
7 public static $string_length = 10;
8 public static $string = "abcdefg\0hi";
10 public function stream_open($path, $mode, $options, &$opened_path)
16 public function stream_read($count)
23 public function stream_write($data)
28 public function stream_stat()
33 public function stream_tell()
38 public function stream_eof()
/PHP-8.3/ext/standard/tests/serialize/
H A Dbug49649.phpt2 Bug #49649 (unserialize() doesn't handle changes in property visibility) - to public
13 * public $public = 3;
15 * public $notThere = 'old';
26 public $public = null;
28 public $protected = null;
30 public $private = null;
39 ["public"]=>
/PHP-8.3/tests/classes/
H A Dclone_003.phpt7 public $p2 = 'base:2';
8 public $p3 = 'base:3';
9 public $p4 = 'base:4';
10 public $p5 = 'base:5';
12 public function __clone() {
17 public $p1 = 'test:1';
18 public $p3 = 'test:3';
19 public $p4 = 'test:4';
20 public $p5 = 'test:5';
21 public function __clone() {
/PHP-8.3/ext/session/tests/user_session_module/
H A Dgh9584.phpt10 public function open($path, $sessname): bool {
14 public function close(): bool {
18 public function read($sessid): string|false {
22 public function write($sessid, $sessdata): bool {
26 public function destroy($sessid): bool {
30 public function gc($maxlifetime): int|false {
34 public function create_sid(): string {
38 public function validateId($sid): bool {
42 public function updateTimestamp($sessid, $sessdata): bool {

Completed in 34 milliseconds

12345678910>>...112