From: jellybob at gmail dot com
Operating system: Linux
PHP version: 5.0.1
PHP Bug Type: Zend Engine 2 problem
Bug description: Interfaces no longer work
Description:
------------
It appears that attempting to implement any interface when creating a
class will cause PHP to segfault.
Reproduce code:
---------------
<?php
interface Blah {
public function blah();
}
class BlahMore implements Blah {
public function blah() {
echo "Hello, world!";
}
}
$obj = new BlahMore();
$obj->blah();
?>
Expected result:
----------------
Hello, world!
Actual result:
--------------
[EMAIL PROTECTED]:~/php-5.0.1> php ~/test.php
Segmentation fault
--
Edit bug report at http://bugs.php.net/?id=29828&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29828&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29828&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29828&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=29828&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29828&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29828&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29828&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29828&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29828&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29828&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29828&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29828&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29828&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29828&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29828&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29828&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29828&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29828&r=float