|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-23 06:50 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Jun 19 06:00:02 2026 UTC |
I sent this to webmaster@php.net a couple weeks ago when I probably should have sent it here. In ZEND_CHANGES.txt [which talks about the zend 2 engine, linked from the front page] on line 218; "The following code prints "foobar", not "foo", because..." probably should be "The following code prints "foobar", not "bar", because..." OR you could change line 223 from define('foo', 'bar'); to define('foo', 'foo'); Also on line 256... I'm not sure I understand, but wouldn't the example print "foobar" four times instead of just two? What I'm getting is that the engine searches for the "bar" function in that class's namespace before it searches the instantiating namespace, so calling "$this->bar()" in this case has the same effect as calling "bar()"?