|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-11-23 05:00 UTC] laruence@php.net
-Assigned To:
+Assigned To: laruence
[2015-11-23 05:00 UTC] laruence@php.net
[2015-11-23 10:35 UTC] laruence@php.net
[2015-11-23 10:36 UTC] laruence@php.net
-Status: Assigned
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ See test script Test script: --------------- <?php trait Foo { function bar($a = self::class) {} } class B { use Foo; } $b = new B; $b->bar(); Expected result: ---------------- string(1) "C" Actual result: -------------- PHP-5.6: Fatal error: Invalid opcode 64/8/2. in /tmp/1.php on line 5 PHP-7.0: NULL [Mon Nov 23 12:39:01 2015] Script: '/tmp/1.php' /home/huixinchen/opensource/php-7.0/Zend/zend_string.h(121) : Freeing 0x7FFFF8059B80 (32 bytes), script=/tmp/1.php === Total 1 memory leaks detected ===