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) { $result = is_null($value); echo "is_null ( ", var_export($value, true), " ) = ", var_export($result, true), " \n";}
based on NCEkY
Output for 7.0.0 - 7.1.0
is_null ( NULL ) = Fatal error: Uncaught Error: Call to undefined function  var_export() in /in/M2NWG:12 Stack trace: #0 {main} thrown in /in/M2NWG on line 12
Process exited with code 255.
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0
is_null ( NULL ) = Fatal error: Call to undefined function  var_export() in /in/M2NWG on line 12
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/M2NWG on line 12
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/M2NWG on line 12
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/M2NWG on line 12