3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { class bar {} } namespace { echo \foo\bar::class . "\n"; echo foo\bar::class . "\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.0110.00416.38
8.3.50.0120.00916.22
8.3.40.0130.00718.80
8.3.30.0070.00718.59
8.3.20.0040.00420.21
8.3.10.0070.00023.65
8.3.00.0060.00319.68
8.2.180.0100.01316.50
8.2.170.0090.00922.96
8.2.160.0070.00718.96
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00419.39
8.2.120.0050.00326.35
8.2.110.0070.00320.52
8.2.100.0040.00817.72
8.2.90.0040.00418.94
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0080.00018.10
8.2.40.0020.00520.46
8.2.30.0000.00718.99
8.2.20.0040.00417.92
8.2.10.0050.00317.92
8.2.00.0040.00417.91
8.1.280.0070.01025.92
8.1.270.0000.00722.19
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0000.00920.84
8.1.230.0110.00019.08
8.1.220.0070.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.10
8.1.190.0040.00417.10
8.1.180.0080.00018.10
8.1.170.0000.00818.57
8.1.160.0000.00818.98
8.1.150.0030.00718.75
8.1.140.0040.00419.39
8.1.130.0030.00318.69
8.1.120.0000.00717.29
8.1.110.0040.00417.29
8.1.100.0000.00817.39
8.1.90.0030.00517.28
8.1.80.0000.00817.32
8.1.70.0000.00717.34
8.1.60.0000.00817.45
8.1.50.0040.00417.39
8.1.40.0040.00417.32
8.1.30.0060.00317.50
8.1.20.0080.00017.34
8.1.10.0020.00517.46
8.1.00.0040.00417.34
8.0.300.0070.00018.77
8.0.290.0000.00816.63
8.0.280.0000.00818.42
8.0.270.0070.00017.16
8.0.260.0070.00016.75
8.0.250.0070.00016.82
8.0.240.0000.00716.84
8.0.230.0000.00716.79
8.0.220.0050.00216.79
8.0.210.0040.00416.75
8.0.200.0030.00316.77
8.0.190.0000.00916.73
8.0.180.0030.00616.69
8.0.170.0030.00516.75
8.0.160.0040.00416.66
8.0.150.0050.00316.66
8.0.140.0070.00016.66
8.0.130.0030.00313.20
8.0.120.0070.00016.67
8.0.110.0040.00416.73
8.0.100.0050.00216.61
8.0.90.0000.00716.59
8.0.80.0040.01116.68
8.0.70.0030.00316.62
8.0.60.0000.00716.71
8.0.50.0070.00016.68
8.0.30.0150.00717.06
8.0.20.0130.01017.40
8.0.10.0030.00616.99
8.0.00.0130.01016.59
7.4.330.0000.00515.55
7.4.320.0030.00316.45
7.4.300.0040.00416.41
7.4.290.0000.00816.34
7.4.280.0040.00416.48
7.4.270.0070.00016.43
7.4.260.0040.00316.34
7.4.250.0080.00016.42
7.4.240.0070.00016.46
7.4.230.0030.00316.37
7.4.220.0100.00716.36
7.4.210.0040.01116.44
7.4.200.0040.00416.48
7.4.160.0100.00516.33
7.4.150.0070.01117.40
7.4.140.0120.00817.86
7.4.130.0150.00916.29
7.4.120.0070.01216.36
7.4.110.0090.00816.16
7.4.100.0180.00616.29
7.4.90.0110.00516.27
7.4.80.0060.01019.39
7.4.70.0120.00616.43
7.4.60.0080.01216.31
7.4.50.0040.00716.07
7.4.40.0000.01716.25
7.4.30.0130.00416.41
7.4.10.0040.01416.30
7.4.00.0080.01015.39
7.3.330.0040.00213.14
7.3.320.0000.00513.16
7.3.310.0030.00616.06
7.3.300.0000.00715.98
7.3.290.0070.00616.11
7.3.280.0080.01016.14
7.3.270.0100.00717.40
7.3.260.0080.00816.29
7.3.250.0140.00416.43
7.3.240.0100.00916.32
7.3.230.0120.00616.43
7.3.210.0120.00316.38
7.3.200.0060.01316.19
7.3.190.0120.00316.22
7.3.180.0080.00816.37
7.3.170.0110.00716.19
7.3.160.0080.00816.36
7.3.130.0080.00816.15
7.3.120.0150.00316.35
7.3.110.0000.01516.37
7.3.100.0090.00316.41
7.3.90.0070.01016.17
7.3.80.0000.01516.30
7.3.70.0040.01116.24
7.3.60.0110.00716.21
7.3.50.0070.00316.24
7.3.40.0040.01116.13
7.3.30.0000.01316.25
7.3.20.0030.00618.01
7.3.10.0070.00616.83
7.3.00.0050.00916.94
7.2.330.0110.00716.60
7.2.320.0060.01516.56
7.2.310.0100.01016.55
7.2.300.0070.01016.53
7.2.290.0110.00816.44
7.2.260.0030.01416.42
7.2.250.0100.00916.52
7.2.240.0030.00916.44
7.2.230.0100.00616.35
7.2.220.0130.00316.34
7.2.210.0030.00616.31
7.2.200.0110.00716.22
7.2.190.0030.01416.46
7.2.180.0030.01016.25
7.2.170.0070.00716.40
7.2.160.0030.01016.30
7.2.150.0100.00318.39
7.2.140.0070.00718.21
7.2.130.0020.01116.98
7.2.120.0080.00616.92
7.2.110.0080.00717.08
7.2.100.0070.00817.03
7.2.90.0100.00616.99
7.2.80.0080.00617.09
7.2.70.0060.00817.08
7.2.60.0040.00916.99
7.2.50.0080.00516.99
7.2.40.0070.00617.06
7.2.30.0030.01016.98
7.2.20.0040.01016.98
7.2.10.0060.00816.98
7.2.00.0080.00817.46
7.1.330.0030.01316.92
7.1.320.0090.00017.25
7.1.310.0030.00617.07
7.1.300.0030.01317.24
7.1.290.0040.01117.05
7.1.280.0060.00316.88
7.1.270.0070.00717.32
7.1.260.0000.01617.04
7.1.250.0040.00715.71
7.1.240.0060.00617.00
7.1.230.0090.00617.29
7.1.220.0070.00717.14
7.1.210.0070.00717.04
7.1.200.0040.01216.18
7.1.190.0060.00617.20
7.1.180.0030.00616.98
7.1.170.0030.01017.05
7.1.160.0060.01217.06
7.1.150.0030.01017.11
7.1.140.0080.00817.16
7.1.130.0070.00717.07
7.1.120.0070.00717.02
7.1.110.0080.00317.25
7.1.100.0120.00417.65
7.1.90.0030.00616.91
7.1.80.0040.00417.02
7.1.70.0060.00817.14
7.1.60.0110.01226.10
7.1.50.0160.00625.90
7.1.40.0110.01425.59
7.1.30.0090.01825.77
7.1.20.0130.00925.89
7.1.10.0050.00816.83
7.1.00.0050.01216.71
7.0.330.0070.01016.89
7.0.320.0100.00316.70
7.0.310.0070.01016.64
7.0.300.0060.00616.75
7.0.290.0070.01016.84
7.0.280.0030.01316.83
7.0.270.0060.00616.89
7.0.260.0030.01016.82
7.0.250.0100.00316.88
7.0.240.0030.00716.89
7.0.230.0000.00916.79
7.0.220.0100.00317.04
7.0.210.0070.00716.71
7.0.200.0020.01116.67
7.0.190.0080.00616.70
7.0.180.0090.00616.27
7.0.170.0060.00916.42
7.0.160.0050.00816.52
7.0.150.0070.01016.52
7.0.140.0100.00716.54
7.0.130.0080.01016.60
7.0.120.0080.00516.75
7.0.110.0070.01016.51
7.0.100.0070.01016.53
7.0.90.0090.00816.57
7.0.80.0090.00616.46
7.0.70.0060.01216.48
7.0.60.0060.01216.38
7.0.50.0050.01116.55
7.0.40.0060.01215.63
7.0.30.0060.01115.66
7.0.20.0100.00715.63
7.0.10.0030.01215.58
7.0.00.0020.01415.45
5.6.400.0050.00515.83
5.6.390.0110.00315.79
5.6.380.0030.01215.97
5.6.370.0070.00715.74
5.6.360.0060.01316.08
5.6.350.0060.00915.65
5.6.340.0040.01215.77
5.6.330.0040.00815.87
5.6.320.0100.00316.04
5.6.310.0030.00915.62
5.6.300.0070.00315.83
5.6.290.0030.01015.89
5.6.280.0070.00315.88
5.6.270.0090.00315.65
5.6.260.0080.00515.73
5.6.250.0090.00615.71
5.6.240.0110.00015.69
5.6.230.0090.00015.94
5.6.220.0030.01016.00
5.6.210.0060.01215.63
5.6.200.0120.00315.57
5.6.190.0090.00615.55
5.6.180.0060.00615.84
5.6.170.0040.01115.64
5.6.160.0120.00615.75
5.6.150.0030.01515.46
5.6.140.0090.00615.51
5.6.130.0040.01115.55
5.6.120.0090.00915.48
5.6.110.0040.00715.42
5.6.100.0000.01515.61
5.6.90.0060.01015.80
5.6.80.0000.01415.45
5.6.70.0060.00915.55
5.6.60.0090.01315.46
5.6.50.0120.00615.67
5.6.40.0070.00715.71
5.6.30.0030.01815.68
5.6.20.0040.01115.55
5.6.10.0070.01115.66
5.6.00.0040.01115.57

preferences:
44.75 ms | 401 KiB | 5 Q