3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 100000; $i++) { $GLOBALS["a$i"] = rand(0, 1000000); } $start = microtime(true); for ($runs = 1000; $runs > 0; $runs--) { array_key_exists('a1111111', $GLOBALS); } $end = microtime(true); printf("[GLOBALS]array_key_exists() took %.5f seconds\n", $end - $start);
Output for git.master, git.master_jit

Process exited with code 137.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
32.57 ms | 401 KiB | 7 Q