3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<? $_="";$_[+""]='';$_="$_"."";print_r($_[0]);
based on BM4F7
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/HaAiu on line 1 Warning: Cannot assign an empty string to a string offset in /in/HaAiu on line 1 Notice: Uninitialized string offset: 0 in /in/HaAiu on line 1
Output for 5.4.11 - 7.0.20
Notice: Array to string conversion in /in/HaAiu on line 1 A
Output for 5.3.21 - 5.3.29
<? $_="";$_[+""]='';$_="$_"."";print_r($_[0]);