note 114018 added to control-structures.for
| From: | birkan dot bilgc180 at example dot com | Date: | Tue, 31 Dec 2013 19:28:53 +0000 |
| Subject: | note 114018 added to control-structures.for | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198060@lists.php.net to get a copy of this message | ||
for ($x=0; $x<=10; $x++){
str_split($values[x]);
}
$values is an array
whenever i write this code it gives an error. Is there something wrong with giving x into a function
in the for loop?
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/control-structures.for.php
Edit -- https://master.php.net/note/edit/114018
Del: integrated -- https://master.php.net/note/delete/114018/integrated
Del: useless -- https://master.php.net/note/delete/114018/useless
Del: bad code -- https://master.php.net/note/delete/114018/bad+code
Del: spam -- https://master.php.net/note/delete/114018/spam
Del: non-english -- https://master.php.net/note/delete/114018/non-english
Del: in docs -- https://master.php.net/note/delete/114018/in+docs
Del: other reasons-- https://master.php.net/note/delete/114018
Reject -- https://master.php.net/note/reject/114018
Search -- https://master.php.net/manage/user-notes.php