3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace N { class A {} } $a = new \N\A(); get_class($a);

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.6.110.0170.08321.07
5.6.100.0070.06321.02
5.6.90.0070.09021.10
5.6.80.0130.04720.41
5.5.270.0000.04720.95
5.5.260.0100.08020.75
5.5.250.0170.08020.66
5.5.240.0030.07720.28
5.4.430.0670.05319.65
5.4.420.0530.05719.66
5.4.410.0730.05319.47
5.4.400.0570.05719.23
5.4.390.0670.06719.22
5.4.380.0670.06019.22
5.4.370.0730.04319.00
5.4.360.0700.06019.22
5.4.350.0570.05719.23
5.4.340.0600.05719.22
5.4.320.0600.06018.99
5.4.310.0730.05019.32
5.4.300.0530.05719.34
5.4.290.0600.05019.32
5.4.280.0670.04718.99
5.4.270.0670.05719.23
5.4.260.0700.05018.99
5.4.250.0730.05019.18
5.4.240.0700.05019.31
5.4.230.0670.05319.30
5.4.220.0730.04718.97
5.4.210.0670.05719.01
5.4.200.0830.07016.65
5.4.190.0670.05018.99
5.4.180.0700.04019.12
5.4.170.0530.06018.88
5.4.160.0600.04718.95
5.4.150.0670.04319.09
5.4.140.0670.04316.32
5.4.130.0770.04716.49
5.4.120.0600.05016.68
5.4.110.0630.06016.30
5.4.100.0730.06016.36
5.4.90.0930.04716.44
5.4.80.0800.04016.62
5.4.70.0970.06016.50
5.4.60.0730.06716.60
5.4.50.0900.06016.59
5.4.40.0600.05716.43
5.4.30.0730.04316.61
5.4.20.0770.04316.18
5.4.10.0700.05016.28
5.4.00.0700.05716.03
5.3.290.0630.05714.83
5.3.280.0630.05714.78
5.3.270.0670.05314.66
5.3.260.0700.04314.52
5.3.250.0670.05014.80
5.3.240.0500.05014.79
5.3.230.0170.05014.68
5.3.220.0170.04714.63
5.3.210.0070.05714.73
5.3.200.0570.06714.78
5.3.190.0730.05314.69
5.3.180.0530.05314.60
5.3.170.0630.04314.62
5.3.160.0800.03714.54
5.3.150.0600.05014.74
5.3.140.0800.05014.52
5.3.130.0670.04314.76
5.3.120.0600.05014.63
5.3.110.0570.05314.75
5.3.100.0830.04014.04
5.3.90.0630.04713.97
5.3.80.0730.05314.10
5.3.70.0730.03714.20
5.3.60.0600.05314.04
5.3.50.0530.05313.95
5.3.40.0670.04313.91
5.3.30.0600.05013.95
5.3.20.0670.04013.81
5.3.10.0770.04313.82
5.3.00.0630.05713.60
5.2.170.0600.04011.08
5.2.160.0670.04310.98
5.2.150.0670.03011.06
5.2.140.0500.04711.05
5.2.130.0530.03311.02
5.2.120.0430.04011.02
5.2.110.0400.04311.00
5.2.100.0400.04711.00
5.2.90.0570.04311.18
5.2.80.0430.04310.94
5.2.70.0500.03710.95
5.2.60.0570.04010.96
5.2.50.0430.04310.80
5.2.40.0370.04010.84
5.2.30.0430.03711.07
5.2.20.0330.04010.89
5.2.10.0430.04010.84
5.2.00.0470.03710.70
5.1.60.0470.0339.97
5.1.50.0430.03310.07
5.1.40.0370.04010.05
5.1.30.0400.03710.43
5.1.20.0400.04010.30
5.1.10.0430.04010.10
5.1.00.0430.0509.97
5.0.50.0170.0438.39
5.0.40.0230.0308.34
5.0.30.0130.0478.30
5.0.20.0300.0178.12
5.0.10.0270.0238.20
5.0.00.0270.0338.07
4.4.90.0400.0405.82
4.4.80.0170.0275.85
4.4.70.0100.0305.78
4.4.60.0200.0205.73
4.4.50.0300.0235.91
4.4.40.0270.0405.86
4.4.30.0170.0275.80
4.4.20.0230.0205.85
4.4.10.0170.0235.83
4.4.00.0170.0375.88
4.3.110.0200.0205.80
4.3.100.0230.0175.67
4.3.90.0200.0175.80
4.3.80.0200.0335.82
4.3.70.0230.0175.73
4.3.60.0200.0205.75
4.3.50.0200.0205.82
4.3.40.0170.0375.60
4.3.30.0170.0174.41
4.3.20.0100.0204.42
4.3.10.0130.0204.53
4.3.00.0000.0237.13

preferences:
146.87 ms | 1394 KiB | 7 Q