3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo substr_replace('abcde', 'f', array(0, 1), array(1, 1));
Output for 7.0.6 - 7.1.0
Warning: substr_replace(): Functionality of 'start' and 'length' as arrays is not implemented in /in/XTnjN on line 2 abcde
Output for 5.2.5 - 7.0.5
Warning: substr_replace(): Functionality of 'from' and 'len' as arrays is not implemented in /in/XTnjN on line 2 abcde
Output for 5.0.0 - 5.2.4
Warning: substr_replace(): Functionality of 'from' and 'len' as arrays is not implemented. in /in/XTnjN on line 2 abcde
Output for 4.3.0 - 4.4.9
afcde