3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = microtime(true); echo 'a'.'<a'; $time = microtime(true) - $time; echo 'array_diff() took ' . number_format($time, 3) . ' seconds and returned ' . count($data_diff1) . " entries\n";
Output for 5.0.4 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
a<a Notice: Undefined variable: data_diff1 in /in/Eetg5 on line 9 array_diff() took 0.000 seconds and returned 0 entries
Output for 4.3.0 - 5.0.3
a<a Notice: Undefined variable: data_diff1 in /in/Eetg5 on line 9 array_diff() took 0.000 seconds and returned 0 entries