3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $cars; echo sizeof($cars);
Output for 7.2.0
Notice: Undefined variable: cars in /in/BsJvX on line 4 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /in/BsJvX on line 4 0
Output for 5.1.0 - 7.1.10
Notice: Undefined variable: cars in /in/BsJvX on line 4 0
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: cars in /in/BsJvX on line 3 Notice: Undefined variable: cars in /in/BsJvX on line 4 0
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: cars in /in/BsJvX on line 3 Notice: Undefined variable: cars in /in/BsJvX on line 4 0