|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-07-08 18:15 UTC] kalle@php.net
-Status: Open
+Status: Feedback
[2011-07-08 18:15 UTC] kalle@php.net
[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
[2011-07-10 10:39 UTC] pajoye@php.net
-Status: Open
+Status: Bogus
[2011-07-10 10:39 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 19:00:01 2025 UTC |
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