Run ❯
Get your
own PHP
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <?php $x = "Hello World!"; $y = explode(" ", $x); //Use the print_r() function to display the result: print_r($y); ?> </body> </html>
Array ( [0] => Hello [1] => World! )