Doc #73205 [Opn->Nab]: Default value for $length is shown as 0, but it should be null.

From: Date: Fri, 30 Sep 2016 08:16:21 +0000
Subject: Doc #73205 [Opn->Nab]: Default value for $length is shown as 0, but it should be null.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13966@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73205&edit=1 ID: 73205 Updated by: cmb@php.net Reported by: nick at nickduffell dot com dot au Summary: Default value for $length is shown as 0, but it should be null. -Status: Open +Status: Not a bug Type: Documentation Problem -Package: Website problem +Package: Arrays related PHP Version: Irrelevant -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: No, 0 is the default value, i.e. without passing a $length, the function behaves as if 0 was passed. Previous Comments: ------------------------------------------------------------------------ [2016-09-30 01:15:31] nick at nickduffell dot com dot au Description: ------------ --- From manual page: http://www.php.net/function.array-splice --- Default value for $length is shown as 0, but it should be null. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73205&edit=1

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