#21467 [Bgs]: crash without any error
| From: | derick@php.net | Date: | Tue, 07 Jan 2003 09:48:29 +0000 |
| Subject: | #21467 [Bgs]: crash without any error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29281@lists.php.net to get a copy of this message | ||
ID: 21467
Updated by: derick@php.net
Reported By: ceco@noxis.net
Status: Bogus
Bug Type: Class/Object related
Operating System: linux debian
PHP Version: 4.3.0
New Comment:
right, that's totally wrong:
http://www.php.net/manual/en/ref.errorfunc.php#ini.error-reporting
Previous Comments:
------------------------------------------------------------------------
[2003-01-07 03:32:23] ceco@noxis.net
I reported it because in php there is only one line containing
error_reporting, and it is
error_reporting = 7
------------------------------------------------------------------------
[2003-01-06 16:24:00] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
I am not sure why you are not seeing an error, it could be due to
error_reporting being set to 0 or php.ini directive indicate errors
should not be shown.
The code you have does generate a fatal error, for your benefit I am
including it here:
PHP Fatal error: Cannot redeclare test() in c.php on line 6
php4/c.php(6) : Fatal error - Cannot redeclare test()
Fatal error: Cannot redeclare test() in c.php on line 6
------------------------------------------------------------------------
[2003-01-06 11:37:17] ceco@noxis.net
forgot to mention that the version it worked correctly is 4.1.2
(if can be defined correctly at all, i mean the script was working)
------------------------------------------------------------------------
[2003-01-06 11:34:26] ceco@noxis.net
when I try this
<?
class test {
function test(){
echo 'b';
}
function test($a){
echo 'a';
}
}
?>done
I minimized the problem, which I found with an old code using
FastTemplate
nothing happens - no errors, no warning, no output - just sending
headers and thats all
I am not sure if it is leagal code, but I'm sure it should get some
error or warning message at least, or work of course
I installed it on apache web server, but the cli version is working the
same way ( not working )
compiled the PHP with --enable-debug, and still no difference - no
messages of any kind
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21467&edit=1