3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = 'Test>Test'; var_dump($s); $s[4] = ''; var_dump($s);
Output for 7.1.0
string(9) "Test>Test" Warning: Cannot assign an empty string to a string offset in /in/lRhUZ on line 5 string(9) "Test>Test"
Output for 4.3.0 - 7.0.14
string(9) "Test>Test" string(9) "TestTest"