ID:               21467
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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

Reply via email to