3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = '123'; $testje = json_decode($test, true); if (empty($testje) or ! is_array($testje)) { echo 'leeg'; } else { echo 'niet leeg'; }
based on VORRe
Output for 5.3.19 - 7.2.0
leeg