3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "Week 01 \u2013 Charismatic and Transformational Leadership"; var_dump(@json_encode($str));
based on rDLMr
Output for 5.2.0 - 7.2.6
string(61) ""Week 01 \\u2013 Charismatic and Transformational Leadership""
Output for 4.3.2 - 5.1.6

Process exited with code 255.
Output for 4.3.0 - 4.3.1