Home
last modified time | relevance | path

Searched refs:A (Results 126 – 150 of 1237) sorted by relevance

12345678910>>...50

/PHP-5.4/tests/classes/
H A Dproperty_override_protected_private.phpt5 class A
7 protected $p = "A::p";
14 class B extends A
24 $a = new A;
33 Fatal error: Access level to B::$p must be protected (as in class A) or weaker in %s on line 18
H A Dbug23951.phpt9 class A {
15 class B extends A {
21 $a = new A;
30 A Object
/PHP-5.4/ext/reflection/tests/
H A DReflectionClass_getStaticPropertyValue_001_2_4.phpt10 class A {
16 class B extends A {
22 echo "Retrieving static values from A:\n";
23 $rcA = new ReflectionClass('A');
25 var_dump($rcA->getStaticPropertyValue("\0A\0privateOverridden"));
32 var_dump($rcB->getStaticPropertyValue("\0A\0privateOverridden"));
37 echo "\nRetrieving non-existent values from A with no default value:\n";
54 Retrieving static values from A:
57 Fatal error: Uncaught exception 'ReflectionException' with message 'Class A does not have a propert…
H A DReflectionClass_setStaticPropertyValue_001_2_4.phpt10 class A {
16 class B extends A {
22 echo "Set static values in A:\n";
23 $rcA = new ReflectionClass('A');
24 $rcA->setStaticPropertyValue("\0A\0privateOverridden", "new value 1");
31 $rcB->setStaticPropertyValue("\0A\0privateOverridden", "new value 4");
38 echo "\nSet non-existent values from A with no default value:\n";
55 Set static values in A:
57 Fatal error: Uncaught exception 'ReflectionException' with message 'Class A does not have a propert…
H A DReflectionClass_getProperty_003.phpt8 class A {
9 static public $pubC = "pubC in A";
18 class B extends A {
75 showInfo("A::pubC");
76 showInfo("A::protC");
77 showInfo("A::privC");
103 %unicode|string%(1) "A"
111 %unicode|string%(1) "A"
165 %unicode|string%(1) "A"
173 %unicode|string%(1) "A"
[all …]
H A DReflectionClass_toString_003.phpt8 Class A {
11 Class B extends A {
20 foreach (array('A', 'B', 'C', 'D') as $class) {
30 ----( Reflection class A: )----
31 Class [ <user> class A ] {
55 Class [ <user> class B extends A ] {
71 Method [ <user, overwrites A> private method f ] {
H A DReflectionClass_getProperty_004.phpt8 class A {
9 public $pubC = "pubC in A";
11 private $privC = "privC in A";
13 public $pubA = "pubA in A";
18 class B extends A {
75 showInfo("A::pubC");
76 showInfo("A::protC");
77 showInfo("A::privC");
103 %unicode|string%(1) "A"
111 %unicode|string%(1) "A"
[all …]
H A DReflectionProperty_setAccessible.phpt5 class A {
12 class B extends A {}
14 $a = new A;
16 $protectedStatic = new ReflectionProperty('A', 'protectedStatic');
18 $privateStatic = new ReflectionProperty('A', 'privateStatic');
72 $a = new A;
119 string(44) "Cannot access non-public member A::protected"
120 string(50) "Cannot access non-public member A::protectedStatic"
121 string(42) "Cannot access non-public member A::private"
122 string(48) "Cannot access non-public member A::privateStatic"
[all …]
H A DReflectionClass_getProperty_001.phpt47 echo " --> Check for A: ";
48 var_dump($rc->getProperty("A"));
75 --> Check for A: Property A does not exist
90 --> Check for A: Property A does not exist
105 --> Check for A: Property A does not exist
120 --> Check for A: Property A does not exist
135 --> Check for A: Property A does not exist
145 --> Check for A: Property A does not exist
H A Dbug60367.phpt5 abstract class A {
7 const WHAT = 'A';
15 class B extends A {
24 $method = new ReflectionMethod("A::call");
/PHP-5.4/ext/standard/tests/class_object/
H A Dforward_static_call_003.phpt6 class A
8 const NAME = 'A';
14 class B extends A
34 A::test();
43 A
/PHP-5.4/Zend/tests/
H A Dbug47343.phpt5 class A
23 public function B($A)
25 $this->A = $A;
35 $Aobj = new A;
H A Dbug55137.phpt6 trait A {
13 use A {
14 A::foo as public;
15 A::bar as public baz;
H A Dget_class_vars_005.phpt6 class A {
11 class B extends A {
14 var_dump(get_class_vars('A'));
19 var_dump(get_class_vars('A'));
H A Dbug34678.phpt5 class A {
11 class B extends A {
20 if (is_callable(array('A', 'foo'))) {
21 call_user_func(array('A', 'foo'));
H A Dbug32660.phpt5 class A
20 $a = new A;
31 Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php o…
32 A Object
37 Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php o…
/PHP-5.4/ext/standard/tests/file/
H A Dbasename_variation1.phpt15 "A:/",
17 "A:\\",
57 basename for path A:/foo is:
59 basename for path A:/foo/ is:
61 basename for path A:/foo\ is:
98 string(6) "A:\foo"
100 string(6) "A:\foo"
102 string(7) "A:\foo\"
104 string(10) "A:\foo.bar"
106 string(10) "A:\foo.bar"
[all …]
/PHP-5.4/ext/standard/tests/strings/
H A Dsprintf_variation34_64bit.phpt71 string(10) "0-9A-Fa-f]"
86 string(10) "0-9A-Fa-f]"
101 string(10) "0-9A-Fa-f]"
116 string(10) "0-9A-Fa-f]"
131 string(10) "0-9A-Fa-f]"
146 string(10) "0-9A-Fa-f]"
161 string(10) "0-9A-Fa-f]"
176 string(10) "0-9A-Fa-f]"
191 string(10) "0-9A-Fa-f]"
206 string(10) "0-9A-Fa-f]"
[all …]
H A Dsprintf_variation35.phpt70 string(10) "0-9A-Fa-f]"
85 string(10) "0-9A-Fa-f]"
100 string(10) "0-9A-Fa-f]"
115 string(10) "0-9A-Fa-f]"
130 string(10) "0-9A-Fa-f]"
145 string(10) "0-9A-Fa-f]"
160 string(10) "0-9A-Fa-f]"
175 string(10) "0-9A-Fa-f]"
190 string(10) "0-9A-Fa-f]"
205 string(10) "0-9A-Fa-f]"
[all …]
H A Dsprintf_variation35_64bit.phpt66 string(10) "0-9A-Fa-f]"
81 string(10) "0-9A-Fa-f]"
96 string(10) "0-9A-Fa-f]"
111 string(10) "0-9A-Fa-f]"
126 string(10) "0-9A-Fa-f]"
141 string(10) "0-9A-Fa-f]"
156 string(10) "0-9A-Fa-f]"
171 string(10) "0-9A-Fa-f]"
186 string(10) "0-9A-Fa-f]"
201 string(10) "0-9A-Fa-f]"
[all …]
/PHP-5.4/Zend/tests/traits/
H A Dbug55137.phpt6 trait A {
13 use A {
14 A::foo as public;
15 A::bar as public baz;
H A Dbug60165b.phpt6 trait A {
11 use A {
12 A::nonExistent as barA;
17 Fatal error: An alias was defined for A::nonExistent but this method does not exist in %s on line %d
/PHP-5.4/ext/standard/tests/general_functions/
H A Dcallbacks_001.phpt5 class A {
7 echo "A\n";
10 echo "A\n";
14 class B extends A {
30 $this->call(array('A', 'who'));
89 A
92 A|who
93 A
97 A
/PHP-5.4/ext/standard/tests/array/
H A Dbug26458.phpt1 --TEST--
2 Bug #26458 (var_dump(), var_export() & debug_zval_dump() are not binary safe for array keys)
3 --FILE--
4 <?php
5 $test = array("A\x00B" => "Hello world");
6 var_dump($test);
7 var_export($test);
8 debug_zval_dump($test);
9 ?>
10 --EXPECT--
[all …]
/PHP-5.4/ext/pdo_sqlite/tests/
H A Dbug46542.phpt9 class A extends PDO
12 $a = new A('sqlite:' . __DIR__ . '/dummy.db');
23 A::truc
24 A::TRUC

Completed in 30 milliseconds

12345678910>>...50