3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = ''; $a[100] = 'PPAP'; var_dump($a);
based on lcR6m
Output for 7.1.0 - 7.3.0rc4
string(101) " P"
Output for 5.6.0 - 7.0.20
array(1) { [100]=> string(4) "PPAP" }