3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $test = "This is a string!"; print_r((array) $test);
Output for 4.3.0 - 7.1.0
Array ( [0] => This is a string! )