Bug #53621 [Opn->Bgs]: Bug with PHP comment //
| From: | rasmus@php.net | Date: | Tue, 28 Dec 2010 17:32:29 +0000 |
| Subject: | Bug #53621 [Opn->Bgs]: Bug with PHP comment // | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157364@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53621&edit=1
ID: 53621
Updated by: rasmus@php.net
Reported by: bruno dot boccara at d2b dot com
Summary: Bug with PHP comment //
-Status: Open
+Status: Bogus
Type: Bug
Package: Scripting Engine problem
Operating System: WINDOWS 2008 64BIT
PHP Version: 5.3.4
Block user comment: N
Private report: N
New Comment:
It is a simple syntax error. You must be suppressing error
output/logging somehow
or you would have seen the syntax error right away. Since you have a
syntax
error, the script could not be parsed and thus could not be executed and
you
therefore get no output from it other than the error message.
Previous Comments:
------------------------------------------------------------------------
[2010-12-28 18:20:04] bruno dot boccara at d2b dot com
In fact, after some check into windows system alert, I don't see any php
crash process.
when calling a php page with this kind of code, apache logs return a 200
code (so it should be Ok), but in fact the html page is totally blank.
more stange,
I tried to do:
<?
echo "test";
exit();
<?=//$anything?>
?>
it also return a blank page !!
after deleting the line with <?=//$anything?>, it works normally....
I lost 3 days trying to understand what's going on until I find
this....
(I'm not new in PHP !!!)
For your info, the same script work perfectly under windows 2003 32,
apache 2.0, php4.4.9
------------------------------------------------------------------------
[2010-12-28 17:46:59] felipe@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
I cannot reproduce it.
------------------------------------------------------------------------
[2010-12-28 17:12:50] bruno dot boccara at d2b dot com
Description:
------------
this script crash php:
<?=//$anything?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53621&edit=1