Hi!

Most people will think, that it will output AB. But currently in PHP
5.2 (I don't have PHP 5.3 to test it) it will output:

Most people will know (if really trying to understand and not trying to appear as they do not understand simple things in order to advance their point) that "self" is the same as name of the class it appears in, and "parent" is the same as name of the parent class of the class it appears in. So self::nB means A::nB, which does not exist. How hard is that?

User that sees this, doesn't have any idea where is the problem and
how to find some information about it.

How hard the concept of "self means this class, parent means parent class" is to grasp? Are you really trying to argue that it is hard for you to understand such concept?
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to