note 54077 added to function.array-reduce

From: Date: Thu, 23 Jun 2005 08:18:28 +0000
Subject: note 54077 added to function.array-reduce
Groups: php.notes 
Request: Send a blank email to php-notes+get-90821@lists.php.net to get a copy of this message
The code supplied by cuntbubble is unfortunately incorrect. Running it I got the output: 0<TR><TD><a href="page1.html">page1</a></td> <TR><TD><a href="page2.html">page2</a></td> <TR><TD><a href="page3.html">page3</a></td> </table> So php, not finding an integer, used int(0) to start the process. I've tested to confirm this. ---- Manual Page -- http://www.php.net/manual/en/function.array-reduce.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54077 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54077&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54077&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54077&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54077&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54077&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54077&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54077&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#90821) next »