php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17929 ZEND_CHANGES.txt Typo
Submitted: 2002-06-23 03:00 UTC Modified: 2002-06-23 06:50 UTC
From: ben at dubuque365 dot com Assigned:
Status: Closed Package: Website problem
PHP Version: 4.2.1 OS: n/a
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ben at dubuque365 dot com
New email:
PHP Version: OS:

 

 [2002-06-23 03:00 UTC] ben at dubuque365 dot 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()"?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-23 06:50 UTC] sander@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC