3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = new StdClass; var_dump(hash("sha" . (string)(int) $foo, "bar")));

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.370.0100.05018.78
5.4.360.0070.05018.75
5.4.350.0130.04718.79
5.4.340.0100.05018.55
5.4.320.0130.04718.45
5.4.310.0070.05318.46
5.4.300.0070.05018.68
5.4.290.0130.05318.80
5.4.280.0070.05318.71
5.4.270.0030.05318.60
5.4.260.0170.04718.75
5.4.250.0000.06718.46
5.4.240.0070.05718.46
5.4.230.0070.06318.72
5.4.220.0070.05318.73
5.4.210.0070.05318.61
5.4.200.0030.05016.57
5.4.190.0130.05018.70
5.4.180.0000.06018.79
5.4.170.0070.05318.55
5.4.160.0130.04318.66
5.4.150.0170.04018.50
5.4.140.0100.05716.29
5.4.130.0000.05316.27
5.4.120.0030.05016.29
5.4.110.0070.04716.18
5.4.100.0100.04716.27
5.4.90.0070.05016.26
5.4.80.0100.04316.23
5.4.70.0170.04016.25
5.4.60.0070.05016.38
5.4.50.0000.06016.27
5.4.40.0130.05716.28
5.4.30.0070.06716.21
5.4.20.0130.06016.40
5.4.10.0100.04716.22
5.4.00.0070.05015.70
5.3.290.0030.05714.72
5.3.280.0030.05314.68
5.3.270.0030.05714.70
5.3.260.0130.04314.68
5.3.250.0070.05014.61
5.3.240.0100.04714.69
5.3.230.0130.04314.67
5.3.220.0070.05014.65
5.3.210.0070.05314.48
5.3.200.0030.05014.49
5.3.190.0100.04714.54
5.3.180.0030.05014.63
5.3.170.0030.05014.47
5.3.160.0070.04714.61
5.3.150.0000.05314.48
5.3.140.0070.04714.56
5.3.130.0030.05314.50
5.3.120.0000.06014.52
5.3.110.0030.05314.64
5.3.100.0000.05314.13
5.3.90.0030.05013.99
5.3.80.0000.05313.97
5.3.70.0070.04714.09
5.3.60.0030.04713.91
5.3.50.0000.05713.93
5.3.40.0070.04713.91
5.3.30.0070.06013.87
5.3.20.0100.05713.63
5.3.10.0070.04313.63
5.3.00.0030.05013.61
5.2.170.0030.04311.20
5.2.160.0000.04311.12
5.2.150.0100.03311.29
5.2.140.0030.04011.17
5.2.130.0070.03711.14
5.2.120.0070.03711.14
5.2.110.0030.04011.16
5.2.100.0030.04011.03
5.2.90.0070.03711.25
5.2.80.0030.04011.07
5.2.70.0070.03711.13
5.2.60.0070.04011.11
5.2.50.0030.04011.00
5.2.40.0030.04010.92
5.2.30.0100.03710.92
5.2.20.0070.03710.95
5.2.10.0100.04010.85
5.2.00.0000.04710.73
5.1.60.0030.0379.95
5.1.50.0030.0339.99
5.1.40.0030.0339.95
5.1.30.0070.03310.30
5.1.20.0000.04310.39
5.1.10.0070.03310.13
5.1.00.0070.03310.13
5.0.50.0000.0308.51
5.0.40.0030.0278.55
5.0.30.0030.0408.26
5.0.20.0000.0308.13
5.0.10.0030.0278.16
5.0.00.0030.0408.28
4.4.90.0030.0205.90
4.4.80.0030.0205.88
4.4.70.0070.0175.91
4.4.60.0030.0205.82
4.4.50.0100.0135.92
4.4.40.0000.0375.87
4.4.30.0070.0175.88
4.4.20.0070.0175.96
4.4.10.0030.0205.96
4.4.00.0030.0335.97
4.3.110.0030.0305.86
4.3.100.0070.0175.79
4.3.90.0030.0205.78
4.3.80.0000.0375.79
4.3.70.0030.0205.86
4.3.60.0000.0205.79
4.3.50.0030.0205.87
4.3.40.0070.0375.75
4.3.30.0030.0204.68
4.3.20.0000.0234.63
4.3.10.0000.0274.57
4.3.00.0070.0237.42

preferences:
143.87 ms | 1394 KiB | 7 Q