php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55144 Program not generating error giving blank pages
Submitted: 2011-07-06 06:08 UTC Modified: 2011-07-10 10:39 UTC
From: singhkumardinesh at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.3.6 OS: Ububtu 10.4
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: singhkumardinesh at gmail dot com
New email:
PHP Version: OS:

 

 [2011-07-06 06:08 UTC] singhkumardinesh at gmail dot com
Description:
------------
When i m running below code (on  php 5.3.2) that time it not giving me any error but it should generate error.

that program have 2-3 error but not generating it giving me error on lower version of php 5.3 like 5.2 etc.



Test script:
---------------
final class A{
    function foo($a){
        if (isset($this)) {
            echo "If";
        } else {
            echo "Else";
        }
    }
}
class b extends A {}
$a = new A();
$a->foo();

Expected result:
----------------
Should give fatal error for class a should not extand

and 
warning argument missing in function foo


Actual result:
--------------
blank pages

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-08 18:15 UTC] kalle@php.net
-Status: Open +Status: Feedback
 [2011-07-08 18:15 UTC] kalle@php.net
Did you check your error verbosity in error_reporting and display_errors being correctly defined for the script?
 [2011-07-10 09:42 UTC] singhkumardinesh at gmail dot com
-Status: Feedback +Status: Open
 [2011-07-10 09:42 UTC] singhkumardinesh at gmail dot com
I checked that in my system with the display errors and error reporting but 
i do not get any error. I am still getting blank page. can please provide me help.
 [2011-07-10 10:39 UTC] pajoye@php.net
-Status: Open +Status: Bogus
 [2011-07-10 10:39 UTC] pajoye@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Please double check your config, using phpinfo() for example and restart the web 
server if you updated the configuration. But the error is raised, as expected.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 11:02:27 2025 UTC