3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date1 = "2000-10-1abc"; $date2 = "2009-10-10"; echo $date1[-1];
based on e0uid
Output for 7.1.0 - 7.3.0beta1
c
Output for 5.6.0 - 7.0.20
Notice: Uninitialized string offset: -1 in /in/p4Btd on line 7