note 105726 added to function.range

From: Date: Fri, 09 Sep 2011 17:15:52 +0000
Subject: note 105726 added to function.range
Groups: php.notes 
Request: Send a blank email to php-notes+get-183069@lists.php.net to get a copy of this message
I can't understand why range(0,-1) returns not empty array. In python, scala and other languages it works correctly and returns empty set. ---- Server IP: 69.147.83.197 Probable Submitter: 46.119.88.16 ---- Manual Page -- http://www.php.net/manual/en/function.range.php Edit -- https://master.php.net/note/edit/105726 Del: integrated -- https://master.php.net/note/delete/105726/integrated Del: useless -- https://master.php.net/note/delete/105726/useless Del: bad code -- https://master.php.net/note/delete/105726/bad+code Del: spam -- https://master.php.net/note/delete/105726/spam Del: non-english -- https://master.php.net/note/delete/105726/non-english Del: in docs -- https://master.php.net/note/delete/105726/in+docs Del: other reasons-- https://master.php.net/note/delete/105726 Reject -- https://master.php.net/note/reject/105726 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#183069) next »