|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-12-08 22:48 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 10:00:01 2026 UTC |
Description: ------------ Should add following string into overview of this section: These methods will also be triggered when you haven't access to private or protected property. Reproduce code: --------------- class Test { protected $foo = 6; protected function func() { echo __FUNCTION__; } function __get($name) { echo "__get({$name})\n"; } function __call($name, $params) { echo "__call({$name})\n"; } } $c = new Test(); echo $c->foo; echo $c->func(); echo "Done";