3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Two; function time() { echo 'what time is it'; } echo \Two\time();

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.0120.00316.50
8.3.50.0130.00721.92
8.3.40.0120.00418.46
8.3.30.0140.00018.48
8.3.20.0050.00320.34
8.3.10.0080.00023.61
8.3.00.0040.00419.02
8.2.180.0130.01018.16
8.2.170.0100.00322.96
8.2.160.0030.01020.38
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0120.00017.63
8.2.120.0040.00426.35
8.2.110.0000.00921.96
8.2.100.0080.00317.93
8.2.90.0000.00819.09
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0030.00717.91
8.2.50.0030.00618.07
8.2.40.0000.00819.46
8.2.30.0000.00820.47
8.2.20.0040.00417.61
8.2.10.0000.00717.80
8.2.00.0050.00317.90
8.1.280.0130.00725.92
8.1.270.0090.00022.05
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0100.00022.42
8.1.230.0120.00017.66
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0030.00517.00
8.1.180.0000.00718.10
8.1.170.0000.00818.48
8.1.160.0040.00421.81
8.1.150.0030.00318.69
8.1.140.0040.00419.38
8.1.130.0080.00017.44
8.1.120.0070.00017.34
8.1.110.0050.00317.21
8.1.100.0040.00417.37
8.1.90.0040.00417.23
8.1.80.0000.00817.38
8.1.70.0030.00317.19
8.1.60.0050.00417.39
8.1.50.0040.00417.50
8.1.40.0040.00417.41
8.1.30.0050.00317.64
8.1.20.0040.00417.51
8.1.10.0040.00417.43
8.1.00.0030.00517.26
8.0.300.0000.00818.77
8.0.290.0030.00616.75
8.0.280.0000.00718.29
8.0.270.0000.00817.17
8.0.260.0040.00417.20
8.0.250.0050.00216.81
8.0.240.0000.00716.72
8.0.230.0000.00716.78
8.0.220.0000.00716.70
8.0.210.0090.00016.64
8.0.200.0040.00416.83
8.0.190.0000.00716.81
8.0.180.0040.00416.68
8.0.170.0050.00216.72
8.0.160.0000.00716.88
8.0.150.0000.00716.73
8.0.140.0030.00616.61
8.0.130.0030.00313.26
8.0.120.0040.00416.62
8.0.110.0000.00716.75
8.0.100.0040.00416.54
8.0.90.0070.00016.73
8.0.80.0090.01216.82
8.0.70.0000.00716.70
8.0.60.0040.00416.79
8.0.50.0040.00416.87
8.0.30.0090.00616.95
8.0.20.0110.00717.40
8.0.10.0050.00216.75
8.0.00.0100.00916.60
7.4.330.0000.00515.08
7.4.320.0000.00716.27
7.4.300.0030.00316.40
7.4.290.0030.00316.34
7.4.280.0080.00016.43
7.4.270.0030.00316.62
7.4.260.0070.00016.55
7.4.250.0000.00716.42
7.4.240.0020.00516.53
7.4.230.0030.00516.54
7.4.220.0070.01116.48
7.4.210.0050.01016.51
7.4.200.0030.00316.51
7.4.160.0000.01516.59
7.4.150.0100.00717.40
7.4.140.0110.01017.86
7.4.130.0060.01516.35
7.4.120.0070.01216.52
7.4.110.0100.01316.32
7.4.100.0090.01216.43
7.4.90.0130.00616.29
7.4.80.0040.01219.39
7.4.70.0090.00616.26
7.4.60.0000.01516.64
7.4.50.0050.00316.16
7.4.40.0120.00616.31
7.4.30.0040.01716.35
7.4.00.0050.01115.00
7.3.330.0070.00013.21
7.3.320.0000.00513.18
7.3.310.0070.00016.26
7.3.300.0000.00716.11
7.3.290.0000.00716.27
7.3.280.0070.01116.22
7.3.270.0120.00617.40
7.3.260.0140.00316.43
7.3.240.0150.00216.42
7.3.230.0110.00516.60
7.3.210.0120.00316.41
7.3.200.0160.00016.60
7.3.190.0150.00316.18
7.3.180.0040.01416.20
7.3.170.0090.00616.46
7.3.160.0130.00316.65
7.3.120.0090.00914.57
7.3.110.0060.01314.73
7.3.100.0030.01314.79
7.3.90.0040.01314.68
7.3.80.0080.00414.77
7.3.70.0040.01114.77
7.3.60.0040.00714.91
7.3.50.0000.00814.75
7.3.40.0040.00414.87
7.3.30.0030.01014.72
7.3.20.0060.00316.58
7.3.10.0090.00616.64
7.3.00.0030.00516.44
7.2.330.0060.01216.26
7.2.320.0080.01516.64
7.2.310.0060.01016.27
7.2.300.0040.01416.54
7.2.290.0060.01216.71
7.2.250.0110.00714.98
7.2.240.0070.01314.54
7.2.230.0070.01014.88
7.2.220.0070.00314.48
7.2.210.0000.01214.64
7.2.200.0040.01114.85
7.2.190.0040.01215.07
7.2.180.0060.01014.79
7.2.170.0070.01115.06
7.1.330.0000.01015.58
7.1.320.0040.00715.71
7.1.310.0030.00715.92
7.1.300.0030.00915.63
7.1.290.0060.00615.67
7.1.280.0030.01015.46
7.1.270.0080.00415.57
7.1.260.0000.01115.46
7.1.70.0030.00616.89
7.1.60.0110.01119.48
7.1.50.0070.01716.67
7.1.00.0070.06722.40
7.0.200.0410.00614.38
7.0.60.0070.07019.81
7.0.50.0070.04017.86
7.0.40.0000.06020.03
7.0.30.0300.06320.34
7.0.20.0330.07020.19
7.0.10.0200.08020.24
7.0.00.0070.09020.23
5.6.280.0070.06021.13
5.6.210.0070.07320.64
5.6.200.0100.06018.18
5.6.190.0070.08720.61
5.6.180.0270.07320.48
5.6.170.0200.05320.55
5.6.160.0070.03720.50
5.6.150.0070.08018.28
5.6.140.0130.08018.18
5.6.130.0070.07018.19
5.6.120.0070.08721.00
5.6.110.0070.07321.00
5.6.100.0200.07721.13
5.6.90.0000.04321.00
5.6.80.0100.06320.37
5.5.350.4230.04020.42
5.5.340.0130.06718.07
5.5.330.0100.08020.13
5.5.320.0230.06020.35
5.5.310.0200.05720.34
5.5.300.0100.08017.98
5.5.290.0100.08318.03
5.5.280.0000.04320.87
5.5.270.0070.04320.80
5.5.260.0070.06320.82
5.5.250.0070.04020.69
5.5.240.0430.04320.27

preferences:
48.99 ms | 401 KiB | 5 Q