|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-07-27 20:13 UTC] jani@php.net
[2008-08-04 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 01:00:01 2025 UTC |
Description: ------------ A segmentation fault occurs when extending two classes. Reproduce code: --------------- <?php class CACHE extends memcache { public function GetKey($key) { $this->connect('unix:///tmp/memcache1.sock',0); $value = $this->get($key); return $value; } } class Users extends CACHE { function Get($key) { $return = $this->GetKey($key); return $return; } } $cache = new Users; $cache->Get('key'); ?> Expected result: ---------------- The memcached results Actual result: -------------- Segmentation Fault