3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Some\Cool\Namespace; use Some\Other\NameSpace\MyClass; echo "OK!\n";

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)
8.3.60.0200.00018.43
8.3.50.0090.01021.98
8.3.40.0070.01018.80
8.3.30.0100.00318.84
8.3.20.0040.00420.21
8.3.10.0040.00421.82
8.3.00.0060.00319.05
8.2.180.0140.00716.63
8.2.170.0100.00722.96
8.2.160.0090.00521.86
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.73
8.2.110.0040.00419.22
8.1.280.0110.00725.92
8.1.270.0080.00018.61
8.1.260.0000.00826.35
8.1.250.0060.00328.09
8.1.240.0030.00619.01
5.4.390.0200.05318.50
5.4.380.0070.07018.80
5.4.370.0270.04318.78
5.4.360.0100.05718.53
5.4.350.0130.06718.72
5.4.340.0200.05018.73
5.4.320.0300.04718.61
5.4.310.0170.06018.86
5.4.300.0230.05318.52
5.4.290.0270.04318.84
5.4.280.0070.06318.83
5.4.270.0130.06318.70
5.4.260.0230.05718.70
5.4.250.0300.05018.78
5.4.240.0100.06318.50
5.4.230.0130.06318.85
5.4.220.0270.04718.55
5.4.210.0300.05018.54
5.4.200.0200.05716.71
5.4.190.0300.04318.70
5.4.180.0130.06318.42
5.4.170.0300.07718.51
5.4.160.0330.04718.59
5.4.150.0300.06718.66
5.4.140.0170.05716.31
5.4.130.0300.06016.32
5.4.120.0200.05716.19
5.4.110.0300.04316.22
5.4.100.0200.05016.22
5.4.90.0170.05316.41
5.4.80.0230.07316.17
5.4.70.0230.05316.46
5.4.60.0230.05016.30
5.4.50.0130.05716.39
5.4.40.0200.05316.40
5.4.30.0100.06016.27
5.4.20.0170.05316.39
5.4.10.0130.05316.29
5.4.00.0200.05015.67
5.3.290.0170.06714.74
5.3.280.0270.05014.49
5.3.270.0130.08014.58
5.3.260.0230.05714.59
5.3.250.0200.05314.54
5.3.240.0300.05314.55
5.3.230.0170.06314.49
5.3.220.0230.05014.50
5.3.210.0230.07314.48
5.3.200.0100.06314.68
5.3.190.0100.07314.62
5.3.180.0270.05014.64
5.3.170.0070.06714.64
5.3.160.0400.05314.55
5.3.150.0100.06314.59
5.3.140.0200.06314.59
5.3.130.0300.06714.55
5.3.120.0130.06014.50
5.3.110.0070.07014.51
5.3.100.0400.03314.13
5.3.90.0170.05713.91
5.3.80.0070.06013.91
5.3.70.0230.05013.94
5.3.60.0130.06313.99
5.3.50.0200.05014.02
5.3.40.0230.05013.89
5.3.30.0170.05013.98
5.3.20.0200.05313.79
5.3.10.0200.06713.61
5.3.00.0300.06313.57
5.2.170.0070.05311.19
5.2.160.0170.04311.12
5.2.150.0000.06011.11
5.2.140.0070.05011.20
5.2.130.0000.06011.25
5.2.120.0230.03311.05
5.2.110.0200.03711.02
5.2.100.0100.04311.15
5.2.90.0070.04311.06
5.2.80.0170.03711.05
5.2.70.0170.04011.05
5.2.60.0130.04011.20
5.2.50.0130.04011.15
5.2.40.0070.04710.92
5.2.30.0100.04710.93
5.2.20.0200.03010.94
5.2.10.0130.03710.99
5.2.00.0130.05010.83
5.1.60.0100.03310.05
5.1.50.0170.02710.11
5.1.40.0230.02310.07
5.1.30.0200.02710.47
5.1.20.0170.04310.42
5.1.10.0130.03310.08
5.1.00.0130.03310.09
5.0.50.0070.0308.57
5.0.40.0030.0338.46
5.0.30.0200.0438.34
5.0.20.0170.0208.29
5.0.10.0070.0308.20
5.0.00.0030.0478.36
4.4.90.0070.0205.84
4.4.80.0100.0175.94
4.4.70.0070.0205.91
4.4.60.0100.0175.81
4.4.50.0070.0205.82
4.4.40.0130.0275.91
4.4.30.0030.0235.91
4.4.20.0030.0235.93
4.4.10.0130.0175.93
4.4.00.0030.0375.84
4.3.110.0030.0235.80
4.3.100.0100.0175.81
4.3.90.0000.0275.78
4.3.80.0100.0305.79
4.3.70.0030.0235.77
4.3.60.0030.0235.80
4.3.50.0030.0235.79
4.3.40.0030.0375.74
4.3.30.0070.0204.66
4.3.20.0030.0234.57
4.3.10.0030.0234.51
4.3.00.0000.0238.73

preferences:
32.85 ms | 401 KiB | 5 Q