The var_dump() function allows you to see what a variable’s data type is, and what it’s value is.
var_dump()
- https://www.php.net/manual/en/function.var-dump.php
- https://www.w3schools.com/php/func_var_var_dump.asp
varDump.php
<?php
$string = "This is a string, that I will EXPLODE, in this project. Play around with it. See how seperators work.";
$stringArray = explode(",",$string);
var_dump($string);
echo "<br><br>";
var_dump($stringArray);
?>
Be the first to comment