Bug #18085: Segmentation Fault on eval("\$this->variable");
| From: | Sky at quit-clan dot de | Date: | Mon, 01 Jul 2002 09:47:24 +0000 |
| Subject: | Bug #18085: Segmentation Fault on eval("\$this->variable"); | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-12629@lists.php.net to get a copy of this message | ||
From: Sky@quit-clan.de
Operating system: SuSE Linux 8.0
PHP version: 4.0CVS-2002-07-01
PHP Bug Type: Zend Engine 2 problem
Bug description: Segmentation Fault on eval("\$this->variable");
The following PHP code, executed as commandline script with
php-4.3.0-dev-zend2-alpha2 gives a segmentation fault. php-4.2.1 doesnt
have this problem.
#!/usr/sbin/php -f
<?php
class mytest {
function test()
{
echo "Hello\n";
}
function killmyself()
{
eval("\$this->test();");
}
}
$iwill = new mytest;
$iwill->killmyself();
echo "Sucessful.\n";
?>
--
Edit bug report at http://bugs.php.net/?id=18085&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18085&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18085&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18085&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18085&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18085&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18085&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18085&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18085&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18085&r=globals