Searched refs:private (Results 76 – 100 of 746) sorted by relevance
12345678910>>...30
2 Bug #61761 ('Overriding' a private static method with a different signature causes crash)8 private static function test($a) { }13 private static function test($a, $b) { }
2 Bug #78787: Segfault with trait overriding inherited private shadow property7 private $prop;11 private $prop;
2 errmsg: function cannot be declared private7 abstract private function foo() {14 Fatal error: Abstract function test::foo() cannot be declared private in %s on line %d
2 Introducing new private variables of the same name in a subclass is ok, and does not lead to any ou…7 private $hello;11 private $hello;14 // Now we use the trait, which happens to introduce another private variable27 private $hello;
2 Bug #33277 (private method accessed by child class)6 private function bar() {7 echo "private!\n";
8 private $b = 2;9 private $c = 3;14 static private $bb = 5;
9 return eval(sprintf('return new class { private $prop%s; };', ++$i));18 ["prop1":"class@anonymous":private]=>22 ["prop2":"class@anonymous":private]=>
2 Bug #41961 (Ensure search for hidden private methods does not stray from class hierarchy)13 private function secret() {14 echo "Called private " . __METHOD__ . "() on an instance of: " . get_class($this) . "\n";19 private function secret() { }
16 [storage:ArrayObject:private] => ArrayObject Object18 [storage:ArrayObject:private] => Array30 [storage:ArrayObject:private] => ArrayObject Object32 [storage:ArrayObject:private] => Array
10 private $priv = 'secret';80 ["priv":"UsesMagic":private]=>87 ["storage":"ArrayObject":private]=>95 ["priv":"UsesMagic":private]=>116 ["priv":"UsesMagic":private]=>123 ["storage":"ArrayObject":private]=>131 ["priv":"UsesMagic":private]=>150 ["priv":"UsesMagic":private]=>165 ["priv":"UsesMagic":private]=>181 ["priv":"UsesMagic":private]=>[all …]
2 Bug #71617: private properties lost when unserializing ArrayObject9 private $name = null;41 ["name":"Test":private]=>43 ["storage":"ArrayObject":private]=>
18 ["flags":"SplHeap":private]=>20 ["isCorrupted":"SplHeap":private]=>22 ["heap":"SplHeap":private]=>
10 private $priv = 'secret';83 ["priv":"C":private]=>92 ["storage":"ArrayObject":private]=>100 ["priv":"C":private]=>121 ["priv":"C":private]=>130 ["storage":"ArrayObject":private]=>138 ["priv":"C":private]=>157 ["priv":"C":private]=>174 ["priv":"C":private]=>190 ["priv":"C":private]=>[all …]
10 private $priv = 'secret';86 ["priv":"C":private]=>93 ["storage":"ArrayObject":private]=>101 ["priv":"C":private]=>121 ["priv":"C":private]=>128 ["storage":"ArrayObject":private]=>136 ["priv":"C":private]=>156 ["priv":"C":private]=>171 ["priv":"C":private]=>188 ["priv":"C":private]=>[all …]
24 ["flags":"SplDoublyLinkedList":private]=>26 ["dllist":"SplDoublyLinkedList":private]=>32 ["storage":"SplObjectStorage":private]=>38 ["storage":"ArrayObject":private]=>
2 'Static' binding for private variables7 private $id="foo";16 private $id = "bar";
43 private $int_value;53 private $int_value;92 ["int_value":"SimpleClass1":private]=>97 ["int_value":"SimpleClass1":private]=>102 ["int_value":"SimpleClass1":private]=>107 ["int_value":"SimpleClass1":private]=>115 ["int_value":"SimpleClass2":private]=>124 ["int_value":"SimpleClass2":private]=>133 ["int_value":"SimpleClass2":private]=>
53 //class with private member, static member, constant and constructor to initialize the private memb…58 private $member1;72 private $member1;115 private $member2;142 private $member2;268 ["member1":"Test2":private]=>277 ["member1":"Test2":private]=>295 ["member1":"Test2":private]=>306 ["member1":"Test2":private]=>358 ["member2":"Test4":private]=>[all …]
2 Class private constant visibility error6 private const privateConst = 'privateConst';13 Fatal error: Uncaught Error: Cannot access private const A::privateConst in %s:6
2 Bug #27504 (call_user_func_array allows calling of private/protected methods)9 private function bar ( $param ) {23 Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private m…25 Fatal error: Uncaught Error: Call to private method foo::bar() from context '' in %s:%d
2 ZE2 A private method cannot be called in a derived class7 private static function show() {27 fail::not_ok(); // calling a private function34 Fatal error: Uncaught Error: Call to private method pass::show() from context 'fail' in %s:%d
2 ZE2 A private method cannot be called in a derived class7 private function show() {28 $t->not_ok(); // calling a private function35 Fatal error: Uncaught Error: Call to private method pass::show() from context 'fail' in %s:%d
7 private $s = [];34 ["s":"StorageRef":private]=>43 ["s":"StorageRef":private]=>54 ["s":"StorageRef":private]=>68 ["s":"StorageRef":private]=>
Completed in 27 milliseconds