3v4l.org

run code in 200+ PHP versions simultaneously
<?php for($i = 0; $i < 10; $i++) { $q = null; if (is_null($q)) { echo $i; } }
based on N5DPT
Output for 7.1.25 - 7.4.0rc4
0123456789