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 $firstname = "Peter"; $lastname = "Griffin"; $age = "41"; $name = array("firstname", "lastname"); $result = compact($name, "location", "age"); print_r($result); ?> </body> </html>