note 126850 added to function.explode
| From: | joshuachidiebere17217 at gmail dot com | Date: | Sat, 12 Feb 2022 18:51:51 +0000 |
| Subject: | note 126850 added to function.explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217608@lists.php.net to get a copy of this message | ||
<?php
/*Array to split*/
$task =["Teach","Assess","Record
","Examine","Investigate"];
/*use Implode() function to convert
$task into arrays of string
*/
$string=implode(",", $task);
/*use explode() function to seperate $string into different
$task into arrays of string
*/
explode(",", $string);
foreach ($task as $variable => $tk) {
$variable>0;
$variable++;
echo '$variable_'.$variable.' is ' .$tk.'<br>';
}
echo min(3,6);
?>
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.135 (proxied: 197.210.76.85)
----
Manual Page -- https://php.net/manual/en/function.explode.php
Edit -- https://main.php.net/note/edit/126850
Del: integrated -- https://main.php.net/note/delete/126850/integrated
Del: useless -- https://main.php.net/note/delete/126850/useless
Del: bad code -- https://main.php.net/note/delete/126850/bad+code
Del: spam -- https://main.php.net/note/delete/126850/spam
Del: non-english -- https://main.php.net/note/delete/126850/non-english
Del: in docs -- https://main.php.net/note/delete/126850/in+docs
Del: other reasons-- https://main.php.net/note/delete/126850
Reject -- https://main.php.net/note/reject/126850
Search -- https://main.php.net/manage/user-notes.php