Doc #55380 [Opn->Csd]: the output of the "red", "green" example has changed with new versions of php

From: Date: Mon, 08 Aug 2011 05:38:30 +0000
Subject: Doc #55380 [Opn->Csd]: the output of the "red", "green" example has changed with new versions of php
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6985@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55380&edit=1 ID: 55380 User updated by: ggggggg73 at hotmail dot com Reported by: ggggggg73 at hotmail dot com Summary: the output of the "red", "green" example has changed with new versions of php -Status: Open +Status: Closed Type: Documentation Problem Package: Output Control Operating System: linux PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: error from myself Previous Comments: ------------------------------------------------------------------------ [2011-08-08 05:34:49] ggggggg73 at hotmail dot com Description: ------------ --- From manual page: http://www.php.net/function.array-splice%23Examples --- the output of the "red", "green" example has changed with new versions of php <?php $input = array("red", "green", "blue", "yellow"); print_r(array_splice($input, 2)); ?> == blue and yellow. not red and green Test script: --------------- <?php $input = array("red", "green", "blue", "yellow"); print_r(array_splice($input, 2)); ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55380&edit=1

« previous php.doc.bugs (#6985) next »