3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo { use Foo as Bar; class Baz extends Bar { } } namespace Foo { class 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)
8.3.60.0070.01518.56
8.3.50.0070.00716.36
8.3.40.0140.00418.82
8.3.30.0150.00018.77
8.3.20.0040.00422.09
8.3.10.0080.00021.50
8.3.00.0080.00020.82
8.2.180.0140.00318.66
8.2.170.0120.00322.96
8.2.160.0060.01222.15
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0000.00722.22
8.2.120.0050.00326.35
8.2.110.0070.00322.25
8.2.100.0060.00617.77
8.2.90.0000.00817.75
8.2.80.0050.00317.97
8.2.70.0000.00817.80
8.2.60.0000.00718.22
8.2.50.0000.00818.10
8.2.40.0040.00419.47
8.2.30.0040.00419.23
8.2.20.0040.00418.09
8.2.10.0000.00718.04
8.2.00.0000.00817.92
8.1.280.0070.00725.92
8.1.270.0080.00024.01
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0040.00720.64
8.1.230.0040.00719.09
8.1.220.0090.00017.74
8.1.210.0090.00018.77
8.1.200.0000.00917.13
8.1.190.0030.00617.52
8.1.180.0080.00518.10
8.1.170.0050.00318.58
8.1.160.0040.00418.72
8.1.150.0000.00718.81
8.1.140.0070.00019.49
8.1.130.0040.00418.73
8.1.120.0040.00317.43
8.1.110.0040.00417.37
8.1.100.0000.00817.27
8.1.90.0090.00017.28
8.1.80.0060.00317.40
8.1.70.0030.00317.34
8.1.60.0040.00417.42
8.1.50.0000.00817.43
8.1.40.0060.00317.47
8.1.30.0070.00017.60
8.1.20.0000.00817.52
8.1.10.0040.00417.52
8.1.00.0030.00517.48
8.0.300.0050.00319.69
8.0.290.0040.00416.75
8.0.280.0000.00718.43
8.0.270.0070.00017.33
8.0.260.0060.00016.85
8.0.250.0030.00317.00
8.0.240.0090.00016.96
8.0.230.0070.00016.99
8.0.220.0040.00416.91
8.0.210.0070.00016.91
8.0.200.0040.00416.91
8.0.190.0050.00317.00
8.0.180.0040.00416.92
8.0.170.0000.00716.87
8.0.160.0000.00816.93
8.0.150.0070.00016.77
8.0.140.0070.00016.92
8.0.130.0050.00313.43
8.0.120.0000.00716.92
8.0.110.0030.00616.96
8.0.100.0040.00416.97
8.0.90.0000.00716.82
8.0.80.0040.01116.91
8.0.70.0040.00416.84
8.0.60.0040.00416.77
8.0.50.0080.00016.90
8.0.30.0090.00917.11
8.0.20.0110.00817.40
8.0.10.0080.00016.97
8.0.00.0140.00516.69
7.4.330.0000.00515.55
7.4.320.0030.00316.42
7.4.300.0060.00016.43
7.4.290.0030.00316.43
7.4.280.0010.00716.32
7.4.270.0000.00716.44
7.4.260.0000.00716.34
7.4.250.0000.00816.48
7.4.240.0050.00316.48
7.4.230.0000.00716.55
7.4.220.0100.01016.38
7.4.210.0090.00616.39
7.4.200.0070.00016.55
7.4.160.0060.01416.43
7.4.150.0080.00817.40
7.4.140.0100.00817.86
7.4.130.0080.01216.44
7.4.120.0150.00716.48
7.4.110.0170.00016.70
7.4.100.0080.01416.46
7.4.90.0150.00316.33
7.4.80.0200.02119.39
7.4.70.0060.00916.52
7.4.60.0130.00316.49
7.4.50.0060.00816.39
7.4.40.0060.01216.33
7.4.30.0130.00916.59
7.4.00.0030.01015.21
7.3.330.0000.00713.10
7.3.320.0000.00613.10
7.3.310.0040.00416.16
7.3.300.0040.00416.29
7.3.290.0100.00516.28
7.3.280.0060.01116.27
7.3.270.0130.00317.40
7.3.260.0090.00816.48
7.3.250.0140.00816.34
7.3.240.0070.00916.35
7.3.230.0090.00816.45
7.3.210.0080.00816.38
7.3.200.0000.01516.43
7.3.190.0110.00816.30
7.3.180.0270.01216.31
7.3.170.0060.00916.27
7.3.160.0130.00316.56
7.3.10.0040.01116.46
7.3.00.0060.00616.56
7.2.330.0110.00516.64
7.2.320.0070.01016.38
7.2.310.0140.00316.31
7.2.300.0170.00016.39
7.2.290.0120.01216.47
7.2.130.0050.00916.51
7.2.120.0030.00916.66
7.2.110.0140.00316.55
7.2.100.0070.00816.55
7.2.90.0100.00816.76
7.2.80.0040.00616.85
7.2.70.0080.00816.81
7.2.60.0080.00516.71
7.2.50.0140.00616.60
7.2.40.0080.00616.79
7.2.30.0090.00816.63
7.2.20.0090.01016.65
7.2.10.0170.00616.55
7.2.00.0050.00817.47
7.1.250.0070.00615.44
7.1.240.0090.00615.34
7.1.230.0090.00615.63
7.1.220.0060.00915.68
7.1.210.0050.00515.36
7.1.200.0040.00815.53
7.1.190.0110.00315.55
7.1.180.0060.01015.43
7.1.170.0030.00615.64
7.1.160.0030.00915.65
7.1.150.0070.00315.38
7.1.140.0080.00615.68
7.1.130.0050.00515.74
7.1.120.0030.00915.61
7.1.110.0080.00615.61
7.1.100.0040.01116.88
7.1.90.0030.00915.59
7.1.80.0050.00515.64
7.1.70.0070.00216.44
7.1.60.0430.01224.38
7.1.50.0300.01023.99
7.1.40.0280.00823.88
7.1.30.0270.00724.04
7.1.20.0240.01023.91
7.1.10.0170.01115.16
7.1.00.0180.01015.13
7.0.330.0060.00615.31
7.0.320.0070.00715.09
7.0.310.0030.00615.07
7.0.300.0000.01315.25
7.0.290.0100.00315.23
7.0.280.0040.01115.18
7.0.270.0040.00815.36
7.0.260.0040.00415.21
7.0.250.0080.00415.04
7.0.240.0000.00815.16
7.0.230.0000.01115.17
7.0.220.0040.00815.29
7.0.210.0030.01015.47
7.0.200.0250.01014.96
7.0.190.0180.01114.98
7.0.180.0200.00814.61
7.0.170.0170.01214.74
7.0.160.0180.01214.88
7.0.150.0230.00714.87
7.0.140.0150.01014.75
7.0.130.0150.01014.87
7.0.120.0150.00814.90
7.0.110.0230.00914.75
7.0.100.0180.00814.86
7.0.90.0190.00414.89
7.0.80.0210.00314.67
7.0.70.0170.00814.63
7.0.60.0170.00814.78
7.0.50.0180.01015.00
7.0.40.0200.00513.93
7.0.30.0190.00513.84
7.0.20.0180.00514.02
7.0.10.0120.01213.77
7.0.00.0220.00513.97
5.6.380.0070.01014.18

preferences:
39.38 ms | 401 KiB | 5 Q