3v4l.org

run code in 200+ 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 7.2.0
a<a Notice: Undefined variable: data_diff1 in /in/Eetg5 on line 9 Warning: count(): Parameter must be an array or an object that implements Countable in /in/Eetg5 on line 9 array_diff() took 0.000 seconds and returned 0 entries
Output for 5.0.4 - 7.1.7
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