Bug #74360 [NEW]: abstract interface method makes php die.
| From: | jerikokjerk at gmail dot com | Date: | Sat, 01 Apr 2017 23:18:08 +0000 |
| Subject: | Bug #74360 [NEW]: abstract interface method makes php die. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-208266@lists.php.net to get a copy of this message | ||
From: jerikokjerk at gmail dot com
Operating system: windows
PHP version: 7.1.3
Package: Class/Object related
Bug Type: Bug
Bug description:abstract interface method makes php die.
Description:
------------
hello
i've created an interface with an abstract method by mystake (and a lot
of copy/paste)
PHP dies silently whithout triggering any kind of error/warning whereas
i have error_reporting=E_ALL in my php.ini
it would be helpfull to give the developer some kind of hint why the
language refuse to run.
display_errors=On
display_startup_errors=On
Test script:
---------------
interface test {
abstract function foobar();
}
echo 'toto';
Expected result:
----------------
E_COMPILE_ERROR should be raised.
Actual result:
--------------
script does not run.
--
Edit bug report at https://bugs.php.net/bug.php?id=74360&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74360&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74360&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74360&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74360&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74360&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74360&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74360&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74360&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74360&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74360&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74360&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74360&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74360&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74360&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74360&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74360&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74360&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74360&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74360&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74360&r=mysqlcfg