I\'m trying to figure out if its possible to stop a foreach loop in PHP, like this,
$arr = array(\'Joe\', \'Jude\', \'James\', \'Pitch\', \'Tim\'); $i=0; foreach
You can break out of a loop with break.