Bug #17929 Updated: ZEND_CHANGES.txt Typo
| From: | sander@php.net | Date: | Sun, 23 Jun 2002 10:50:37 +0000 |
| Subject: | Bug #17929 Updated: ZEND_CHANGES.txt Typo | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-10992@lists.php.net to get a copy of this message | ||
ID: 17929
Updated by: sander@php.net
Reported By: ben@dubuque365.com
-Status: Open
+Status: Closed
Bug Type: Website problem
Operating System: n/a
PHP Version: 4.2.1
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-06-23 03:00:09] ben@dubuque365.com
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()"?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17929&edit=1