note 100145 deleted from function.file by danbrown

From: Date: Tue, 28 Sep 2010 15:40:35 +0000
Subject: note 100145 deleted from function.file by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-172773@lists.php.net to get a copy of this message
Note Submitter: vinix at nowhere dot org ---- I think this example is wrong, because the base index of arrays in PHP is zero, not one. Thus, the for instruction should be: for ($i=count($lines)-1;$i>=0;$i--) ................

« previous php.notes (#172773) next »