#30776 [Bgs]: unreadable answer from parser
| From: | rob at alterlinks dot fr | Date: | Sat, 13 Nov 2004 21:21:01 +0000 |
| Subject: | #30776 [Bgs]: unreadable answer from parser | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-69021@lists.php.net to get a copy of this message | ||
ID: 30776
User updated by: rob at alterlinks dot fr
Reported By: rob at alterlinks dot fr
Status: Bogus
Bug Type: *General Issues
Operating System: Linux 2.6.3-7
PHP Version: 5.0.2
New Comment:
Good evening,
I don't like the status "bogus"; It's maybe not a bug, at least nothing
to be really worried about, but if I wouldn't see the result with my own
eyes on my screen, I wonder how one can say that there is *no* bug.
Would I be able to dream and come up with a word like that ? lol
Please see :
http://bios.alterlinks.fr/phpinfo.php
http://bios.alterlinks.fr/phpinfo2.php
and
http://premiere.alterlinks.fr/phpinfo.php
http://premiere.alterlinks.fr/phpinfo2.php
between phpinfo and phpinfo2 the only difference is the line :
unset (variable);
which has been added.
Anyway, just leave the incident closed as it's no big deal, just to
show you that I'm not dreaming :)
Best regards,
Previous Comments:
------------------------------------------------------------------------
[2004-11-13 21:53:35] tony2001@php.net
No bug -> bogus.
------------------------------------------------------------------------
[2004-11-13 21:50:56] rob at alterlinks dot fr
I'm happy for you, for me it doesn't with PHP 5.0.2.
It does with PHP4, not with PHP5.0.2 (the exact same code).
Either it's fixed in whatever version you're using, either I can't
conclude otherwise than that there is a difference in behaviour between
my PHP4 and PHP5.0.2
Anyway, lets forget about it, it's not that big of a deal, I guess I'll
just have to go learn Hebrew ;)
------------------------------------------------------------------------
[2004-11-13 21:40:38] tony2001@php.net
It reports exactly what you have expected: "Parse error: parse error,
unexpected T_VAR, expecting T_STRING or T_VARIABLE or '$' in .."
------------------------------------------------------------------------
[2004-11-13 21:36:33] rob at alterlinks dot fr
Thanks for your reply.
However, can you explain why PHP4 reports a readable error, in relation
to
the misstake I'm maken, as where PHP5 reports me something in Hebrew
while
the error I'm making seems to have nothing to do with classes ??
What is the error it reports you for the code below ?
<?
unset (value);
?>
------------------------------------------------------------------------
[2004-11-13 21:16:21] tony2001@php.net
I can't reproduce it.
But I'd advise you to read this:
http://www.php.net/manual/en/language.oop5.paamayim-nekudotayim.php
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30776
--
Edit this bug report at http://bugs.php.net/?id=30776&edit=1