#29828 [Opn->Fbk]: Interfaces no longer work
| From: | derick@php.net | Date: | Wed, 25 Aug 2004 06:29:59 +0000 |
| Subject: | #29828 [Opn->Fbk]: Interfaces no longer work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65212@lists.php.net to get a copy of this message | ||
ID: 29828
Updated by: derick@php.net
Reported By: jellybob at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Zend Engine 2 problem
Operating System: Linux
PHP Version: 5.0.1
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-08-25 01:52:04] jellybob at gmail dot com
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:
--------------
jon@bertha:~/php-5.0.1> php ~/test.php
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29828&edit=1