3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data[] = null; $data[] = 0; $data[] = 1; $data[] = true; $data[] = false; foreach($data as $value) { echo "is_null ( ", var_export($value, true), " ) = ", var_export(is_null($value), true), " \n";}
based on DCW4H
Output for 7.0.0 - 7.1.0
is_null ( NULL ) = Fatal error: Uncaught Error: Call to undefined function  var_export() in /in/NCEkY:11 Stack trace: #0 {main} thrown in /in/NCEkY on line 11
Process exited with code 255.
Output for 5.0.0 - 5.6.28
is_null ( NULL ) = Fatal error: Call to undefined function  var_export() in /in/NCEkY on line 11
Process exited with code 255.
Output for 4.4.5 - 4.4.9
is_null ( NULL ) = Fatal error: Call to undefined function:  var_export() in /in/NCEkY on line 11
Process exited with code 255.
Output for 4.3.2 - 4.4.4
is_null ( NULL ) = Fatal error: Call to undefined function:  var_export() in /in/NCEkY on line 11
Process exited with code 255.
Output for 4.3.0 - 4.3.1
is_null ( NULL ) = Fatal error: Call to undefined function:  var_export() in /in/NCEkY on line 11