$text = "I like programming";
print_r (explode(" ",$text));
$strarr = array('Pen','Pencil','Eraser');
echo implode(" ",$strarr);
<?php
if(empty($_POST['email'])){
echo "The email cannot be empty";
}
$email = $_Post [‘email’]?? "The email cannot be empty";
?>