|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-11-18 03:35 UTC] crrodriguez+php at suse dot de
[2007-11-18 23:33 UTC] jani@php.net
[2007-11-22 10:47 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 23:00:01 2025 UTC |
Description: ------------ Const now accepts array? Reproduce code: --------------- <?php const foo = array(1, 2, 3); var_dump(foo); var_dump(constant('foo')); Expected result: ---------------- Error ? Actual result: -------------- array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) } array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) }