[PHP-BUG] Bug #55144 [NEW]: Program not generating error giving blank pages

2011-07-06 Thread singhkumardinesh at gmail dot com
From: 
Operating system: Ububtu 10.4
PHP version:  5.3.6
Package:  *General Issues
Bug Type: Bug
Bug description:Program not generating error giving blank pages

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

-- 
Edit bug report at https://bugs.php.net/bug.php?id=55144&edit=1
-- 
Try a snapshot (PHP 5.2):
https://bugs.php.net/fix.php?id=55144&r=trysnapshot52
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=55144&r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=55144&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=55144&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=55144&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=55144&r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=55144&r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=55144&r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=55144&r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=55144&r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=55144&r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=55144&r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=55144&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=55144&r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=55144&r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=55144&r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=55144&r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=55144&r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=55144&r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=55144&r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=55144&r=mysqlcfg
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=55144&r=trysnapshot54



Bug #55144 [Fbk->Opn]: Program not generating error giving blank pages

2011-07-10 Thread singhkumardinesh at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=55144&edit=1

 ID: 55144
 User updated by:singhkumardinesh at gmail dot com
 Reported by:singhkumardinesh at gmail dot com
 Summary:Program not generating error giving blank pages
-Status: Feedback
+Status: Open
 Type:   Bug
 Package:*General Issues
 Operating System:   Ububtu 10.4
 PHP Version:5.3.6
 Block user comment: N
 Private report: N

 New Comment:

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.


Previous Comments:

[2011-07-08 18:15:05] ka...@php.net

Did you check your error verbosity in error_reporting and display_errors being 
correctly defined for the script?


[2011-07-06 06:08:27] 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






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