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