Bug #17929: ZEND_CHANGES.txt Typo
| From: | ben at dubuque365 dot com | Date: | Sun, 23 Jun 2002 07:00:10 +0000 |
| Subject: | Bug #17929: ZEND_CHANGES.txt Typo | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-10990@lists.php.net to get a copy of this message | ||
From: ben@dubuque365.com
Operating system: n/a
PHP version: 4.2.1
PHP Bug Type: Website problem
Bug description: ZEND_CHANGES.txt Typo
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 bug report at http://bugs.php.net/?id=17929&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17929&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17929&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17929&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17929&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17929&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17929&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17929&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17929&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17929&r=globals