|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-23 09:54 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 03:00:02 2025 UTC |
Description: ------------ array_reduce() returns unexpected NULL (PHP 5.0-5.1.2 only) Reproduce code: --------------- $array = array('value'); $result = array_reduce($array,'array_merge'); var_dump($result); Expected result: ---------------- Works on PHP 4.4.0: array(1) { [0]=> string(5) "value" } Actual result: -------------- Tested on PHP 5.1.2: NULL