3v4l.org

run code in 300+ PHP versions simultaneously
<span class="notranslate" onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left"><?php $i=0; $j=500000; while($i < 60000) { $i++; $j++; $data1[] = md5($i); $data2[] = md5($j); } $time = microtime(true); echo "Starting array_diff\n"; $data_diff1 = array_diff($data1, $data2); $time = microtime(true) - $time; echo 'array_diff() took ' . number_format($time, 3) . ' seconds and returned ' . count($data_diff1) . " entries\n";</span> <Php $ i = 0;? $ J = 500000; while ($ i <60000) {$ i + +; $ j + +; $ data1 [] = md5 ($ i); $ data2 [] = md5 ($ j);} $ time = microtime (true); echo "Starting array_diff \ n"; $ data_diff1 = array_diff ($ data1, $ data2); $ time = microtime (true) - $ time;. echo 'array_diff () took' number_format ($ ... time, 3) 'seconds and returned' count ($ data_diff1) "entries \ n";</span>
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.21
Parse error: syntax error, unexpected '<' in /in/ZEWCj on line 1
Process exited with code 255.

preferences:
166.06 ms | 1399 KiB | 57 Q