ID:               49387
 User updated by:  fernando dot wendt at gmail dot com
 Reported By:      fernando dot wendt at gmail dot com
-Status:           Feedback
+Status:           Closed
 Bug Type:         *Configuration Issues
 Operating System: Windows XP
 PHP Version:      5.3.0
 New Comment:

Ops!

Trying to reproduce it twice, it points me to be working fine :)

Trully, there is a incomplete behavior present at phpPgAdmin (method
"printHeader", that have junt one "if" trying to change document header.
That was why the script seems to be stoping anyway.

Sorry, its all right. Bellows, a little buggy script to confirm this.

<?php

        class Doit{
          private $foo;
          
          public function __construct(){
            $this->foo = 'Something';     
          }
          
          public function getfoo(){
                  return($this->foo);
          }     
        }
        
        $data =& new Doit(); //Deprecated issue
        echo $data->getfoo;
        
        $xpto = 12; //Logical follows
        echo $xpto;
        
        pg_connect();//Missing function data

?>


Previous Comments:
------------------------------------------------------------------------

[2009-08-27 16:17:01] [email protected]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.



------------------------------------------------------------------------

[2009-08-27 12:53:36] fernando dot wendt at gmail dot com

Description:
------------
PHP is ignoring the php.ini error_reporting configuration, and is
always hangin up scripts with the E_DEPRACATED message.

The default error_reporting = E_ALL & ~E_DEPRACATED is not working. All
depracated warnings are working as fatal errors, and i believe that was
not the intention it supposed to do.

The only way to avoid this (at least on my workaround) is setting up
the display_errors = Off (even on my workstation).



Reproduce code:
---------------
Try some script that have depracated function or issue to work. It will
freeze as a fatal error, pointing a depracated message.

Expected result:
----------------
First, it should respect the php.ini ~E_DEPRECATED flag and then show
deprecated issues as warnings, not as fatal errors.

Actual result:
--------------
php.ini ~E_DEPRECATED is not working: his behavior looks like a fatal
error, and is not being respected if is on or off.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49387&edit=1

Reply via email to