Home
last modified time | relevance | path

Searched refs:public (Results 126 – 150 of 2139) sorted by relevance

12345678910>>...86

/PHP-8.0/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload5.phpt10 public function method(): X {}
15 public function method(): Y {}
20 public function method(): Q {}
25 public function method(): R {}
30 public function method(): A {}
35 public function method(): B {}
/PHP-8.0/Zend/tests/traits/
H A Dbug55214.phpt7 public static $static_var = __CLASS__;
8 public $var = __CLASS__;
10 public static function get_class_name() {
14 public function get_class_name_obj() {
18 public static function get_class_name2() {
22 public function get_class_name_obj2() {
H A Dmethods_001.phpt7 public function __toString() {
11 public function __get($x) {
15 public function __set($attr, $val) {
19 public function __clone() {
H A Dlanguage006.phpt8 public function sayHelloWorld() {
11 abstract public function getWorld();
17 public function getWorld() {
20 public function setWorld($val) {
/PHP-8.0/Zend/tests/anon/
H A D005.phpt8 public function __construct(&$data) {
13 public function getArrayAccess() {
17 public function offsetGet($offset) { return $this->data[$offset]; }
18 public function offsetSet($offset, $data) { return ($this->data[$offset] = $data); }
19 public function offsetUnset($offset) { unset($this->data[$offset]); }
20 public function offsetExists($offset) { return isset($this->data[$offset]); }
/PHP-8.0/tests/classes/
H A Dproperty_override_public_public.phpt2 Redeclare inherited public property as public.
7 public $p = "A::p";
16 public $p = "B::p";
H A Diterators_008.phpt11 public function valid() {
16 public function next() {
21 public function rewind() {
25 public function current() {
29 public function key() {
H A Dproperty_override_publicStatic_publicStatic.phpt2 Redeclare inherited public static property as public static.
7 public static $p = "A::p (static)";
16 public static $p = "B::p (static)";
/PHP-8.0/Zend/tests/
H A Dbug75420.11.phpt6 public function offsetExists($x) { $GLOBALS["name"] = 24; return true; }
7 public function offsetGet($x) { var_dump($x); return 42; }
8 public function offsetSet($x, $y) { }
9 public function offsetUnset($x) { }
H A Dbug75420.14.phpt6 public function offsetExists($x) { $GLOBALS["obj"] = 24; return true; }
7 public function offsetGet($x) { var_dump($x); return 42; }
8 public function offsetSet($x, $y) { }
9 public function offsetUnset($x) { }
H A Ddereference_007.phpt9 public $x = array();
11 public function b() {
15 public function c() {
19 static public function d() {
H A Dbug54367.phpt7 public function offsetSet($offset, $value) { }
8 public function offsetExists($offset) { }
9 public function offsetUnset($offset) { }
11 public function offsetGet ($offset)
H A Dbug67938.phpt7 public function foo();
8 public function bar(array $bar);
12 public function foo(...$args) {
15 public function bar(array $bar, ...$args) {
H A Dbug75420.10.phpt6 public function offsetExists($x) { $GLOBALS["name"] = 24; return true; }
7 public function offsetGet($x) { var_dump($x); return 42; }
8 public function offsetSet($x, $y) { }
9 public function offsetUnset($x) { }
H A Dbug75420.12.phpt6 public function offsetExists($x) { $GLOBALS["name"] = 24; return true; }
7 public function offsetGet($x) { var_dump($x); return 42; }
8 public function offsetSet($x, $y) { }
9 public function offsetUnset($x) { }
H A Ddebug_info.phpt7 public $d = 4;
11 public function __debugInfo() {
17 public $val = 123;
19 public function __debugInfo() {
H A Dctor_promotion_defaults.phpt7 public function __construct(
8 public float $x = 0.0,
9 public float $y = 1.0,
10 public float $z = 2.0
/PHP-8.0/Zend/tests/generators/
H A Dgh9750-009.phpt10 public function __construct(public mixed $x) {
12 public function __invoke() {
14 public function __destruct() {
/PHP-8.0/Zend/tests/type_declarations/union_types/
H A Dlegal_default_values.phpt7 public int|float $a = 1;
8 public int|float $b = 2.0;
9 public float|string $c = 3; // Strict typing exception
10 public float|string $d = 4.0;
11 public float|string $e = "5";
H A Dinheritance.phpt7 public A|B|int $prop;
8 public function method(A|B|int $arg): A|B|int { }
18 public A|B|int $prop;
19 public function method(A|B|int $arg): A|B|int { }
36 public A|B|int $prop;
37 public function method(A|B|int $arg): A|B|int { }
/PHP-8.0/ext/reflection/tests/
H A Dtraits001.phpt6 public function someMethod() { }
12 public function someOtherMethod() { }
42 Method [ <user> public method someMethod ] {
63 Method [ <user> public method someOtherMethod ] {
67 Method [ <user> public method someMethod ] {
H A DReflectionObject___toString_basic2.phpt7 public $bar = 1;
29 Property [ public $bar = 1 ]
33 Property [ <dynamic> public $dynProp ]
34 Property [ <dynamic> public $dynProp2 ]
/PHP-8.0/Zend/tests/type_declarations/mixed/inheritance/
H A Dmixed_return_inheritance_success3.phpt8 public function method(): mixed {}
13 public function method(): bool|int|null {}
18 public function method(): bool|int|float|string|array|object|null {}
23 public function method(): stdClass|Foo {}
/PHP-8.0/Zend/tests/type_declarations/
H A Dtyped_properties_092.phpt11 public array $prop;
12 public int $prop2;
14 public function foo() {
20 public function bar() {
/PHP-8.0/ext/standard/tests/general_functions/
H A Dbug40398.phpt16 public function __construct()
25 public function __construct()
34 public function __construct()
43 public function __construct()
52 public function __construct()
61 public function __construct()

Completed in 58 milliseconds

12345678910>>...86