3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace bla\blub; $test; echo count($test) == 0;
based on Nj80f
Output for 7.2.0 - 7.3.0beta1
Notice: Undefined variable: test in /in/tvj2O on line 6 Warning: count(): Parameter must be an array or an object that implements Countable in /in/tvj2O on line 6 1
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.20
Notice: Undefined variable: test in /in/tvj2O on line 6 1
Output for hhvm-3.12.14 - 3.17.3
Notice: Undefined variable: test in /in/tvj2O on line 4 Notice: Undefined variable: test in /in/tvj2O on line 6 1