note 101803 added to function.array-pad

From: Date: Wed, 12 Jan 2011 08:53:01 +0000
Subject: note 101803 added to function.array-pad
Groups: php.notes 
Request: Send a blank email to php-notes+get-175658@lists.php.net to get a copy of this message
Just an info about the value of "$pad_size" , If we set the value of "$pad_size" from -3 to 3, It will produce the output like: $result = array_pad($input, -3, "noop"); //result is array(12, 10, 9) $result = array_pad($input, 3, "noop"); //result is array(12, 10, 9) means array will remain the same. ---- Server IP: 69.147.83.197 Probable Submitter: 183.78.186.240 ---- Manual Page -- http://www.php.net/manual/en/function.array-pad.php Edit -- https://master.php.net/note/edit/101803 Del: integrated -- https://master.php.net/note/delete/101803/integrated Del: useless -- https://master.php.net/note/delete/101803/useless Del: bad code -- https://master.php.net/note/delete/101803/bad+code Del: spam -- https://master.php.net/note/delete/101803/spam Del: non-english -- https://master.php.net/note/delete/101803/non-english Del: in docs -- https://master.php.net/note/delete/101803/in+docs Del: other reasons-- https://master.php.net/note/delete/101803 Reject -- https://master.php.net/note/reject/101803 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#175658) next »