3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $text = " hello world"; $text[0] = null; var_dump($text);
Output for 7.1.0 - 7.2.0
Warning: Cannot assign an empty string to a string offset in /in/FPaUR on line 4 string(12) " hello world"
Output for 5.3.20 - 7.0.20
string(12) "hello world"