3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $email = 'test@etst@example.co.jp'; list($localPart, $domainPart) = explode('@', $email); echo $localPart; echo PHP_EOL; echo $domainPart;
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.1.0
test etst
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
testPHP_EOLetst