|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-20 10:21 UTC] jobapply at nextmail dot ru
[2013-02-23 19:00 UTC] pollita@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: pollita
[2013-02-23 19:00 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 18:00:01 2025 UTC |
Description: ------------ Copying __set/__get from one class to another leads to segmentation fault. Not sure about __call/__wakeup/__sleep (magic methods). Reproduce code: --------------- class SetGetMix { public function __get($name) { return 10; } } class Example { } runkit_method_copy( 'Example', '__get', 'SetGetMix'); $e = new Example(); echo $e->a; Expected result: ---------------- 10 Actual result: -------------- Segmentation Fault