3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $sku = "EP0340W"; $sku[5] = null; $sku[6] = null; echo $sku[5];
based on e2Q4I
Output for 7.1.0 - 7.2.0
Warning: Cannot assign an empty string to a string offset in /in/UCEWZ on line 4 Warning: Cannot assign an empty string to a string offset in /in/UCEWZ on line 5 0
Output for 5.3.18 - 7.0.20