3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r([ (bool)'success', (bool)'error' ]);
Output for 5.5.0 - 7.3.0rc4
Array ( [0] => 1 [1] => 1 )