Edit report at https://bugs.php.net/bug.php?id=60369&edit=1
ID: 60369 Updated by: g...@php.net Reported by: vr...@php.net Summary: Crash with static property in trait -Status: Open +Status: Verified Type: Bug Package: Class/Object related Operating System: Windows 7 PHP Version: 5.4.0RC1 -Assigned To: +Assigned To: gron Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2011-11-23 20:35:18] vr...@php.net Description: ------------ PHP crashes when there is a static property defined in a trait plus there is a normal property of the same name in a class using this trait. Test script: --------------- <?php trait PropertiesTrait { static $same = true; } class Properties { use PropertiesTrait; public $same = true; } ?> Expected result: ---------------- Exit code: 0 Actual result: -------------- Exit code: -1073741819 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60369&edit=1