3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $email = 'diane@bluestatedigital.com'; $email = explode('@', $email); echo $email[2];
based on J9vgh
Output for 5.3.0 - 7.2.0
Notice: Undefined offset: 2 in /in/NDmHX on line 6
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 2 in /in/NDmHX on line 6