3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array(); $arr[] = 'or'; echo $arr[0]; $arr[] = 'aviv'; echo $arr[0]; unset($arr); $arr = array(); $arr[] = 'not or'; echo $arr[0];
based on MmQQi
Output for 5.3.17 - 7.2.0
orornot or