3v4l.org

run code in 300+ PHP versions simultaneously
<?php §magic = 1; function getFalse() { global $magic; $magic = 2; return false; } $a = false && getFalse(); var_dump($a); $b = true && getFalse(); var_dump($b);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.40.0100.03711.99
5.4.30.0090.04111.98
5.4.20.0100.04011.98
5.4.10.0100.04011.98
5.4.00.0070.04311.48
5.3.140.0150.05112.66
5.3.130.0110.04912.66
5.3.120.0110.04812.66
5.3.110.0100.04812.66
5.3.100.0120.04612.12
5.3.90.0110.04512.08
5.3.80.0090.04812.07
5.3.70.0100.04412.08
5.3.60.0140.05112.06
5.3.50.0100.04312.00
5.3.40.0120.04712.00
5.3.30.0100.04611.95
5.3.20.0080.04311.73
5.3.10.0100.04011.69
5.3.00.0110.04011.67

preferences:
144.8 ms | 1399 KiB | 7 Q