3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo3\String { class BazBar { } } namespace { new \Foo3\String\BazBar; // should this fail on php7? }

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.0100.01016.38
8.3.50.0060.01321.96
8.3.40.0040.01118.60
8.3.30.0150.00718.73
8.3.20.0070.00020.16
8.3.10.0000.00721.83
8.3.00.0080.00419.13
8.2.180.0110.01118.22
8.2.170.0120.00322.96
8.2.160.0130.00020.47
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0030.00619.18
8.2.110.0000.00919.39
8.2.100.0070.00417.50
8.2.90.0000.00818.80
8.2.80.0000.00817.97
8.2.70.0060.00617.50
8.2.60.0100.00017.80
8.2.50.0030.00618.07
8.2.40.0000.01217.84
8.2.30.0000.00717.96
8.2.20.0070.00017.43
8.2.10.0040.00417.84
8.2.00.0060.00317.42
8.1.280.0210.00025.92
8.1.270.0070.00318.82
8.1.260.0070.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00621.98
8.1.230.0110.00020.88
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.10
8.1.190.0080.00016.88
8.1.180.0040.00418.10
8.1.170.0000.00820.27
8.1.160.0040.00421.94
8.1.150.0000.00818.73
8.1.140.0000.00817.36
8.1.130.0070.00017.75
8.1.120.0070.00017.32
8.1.110.0000.00717.30
8.1.100.0030.00317.38
8.1.90.0040.00417.29
8.1.80.0000.00717.21
8.1.70.0030.00317.34
8.1.60.0030.00517.34
8.1.50.0050.00317.37
8.1.40.0040.00417.39
8.1.30.0000.00817.55
8.1.20.0000.00717.36
8.1.10.0000.00717.37
8.1.00.0030.00717.48
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0000.00718.25
8.0.270.0000.00717.18
8.0.260.0030.00317.09
8.0.250.0000.00716.77
8.0.240.0070.00016.83
8.0.230.0030.00316.87
8.0.220.0060.00316.76
8.0.210.0000.00716.62
8.0.200.0000.00716.86
8.0.190.0020.00516.78
8.0.180.0040.00416.76
8.0.170.0030.00616.81
8.0.160.0000.00716.67
8.0.150.0000.00816.63
8.0.140.0040.00416.68
8.0.130.0030.00313.14
8.0.120.0040.00416.67
8.0.110.0000.00716.69
8.0.100.0030.00316.87
8.0.90.0000.00716.61
8.0.80.0080.00816.66
8.0.70.0000.00716.73
8.0.60.0050.00216.61
8.0.50.0040.00416.74
8.0.30.0130.00716.98
8.0.20.0110.00817.40
8.0.10.0000.00716.88
8.0.00.0060.01216.50
7.4.330.0050.00015.03
7.4.320.0030.00316.43
7.4.300.0030.00316.35
7.4.290.0000.00716.37
7.4.280.0060.00516.40
7.4.270.0000.00716.51
7.4.260.0000.00616.44
7.4.250.0050.00216.33
7.4.240.0040.00316.40
7.4.230.0030.00316.26
7.4.220.0090.01016.40
7.4.210.0100.01016.53
7.4.200.0070.00016.48
7.4.160.0120.00316.23
7.4.150.0180.00017.40
7.4.140.0090.00917.86
7.4.130.0130.00316.41
7.4.120.0110.00716.43
7.4.110.0100.01016.48
7.4.100.0130.00416.31
7.4.90.0100.00616.40
7.4.80.0140.00419.39
7.4.70.0130.01416.32
7.4.60.0100.01316.25
7.4.50.0050.00316.23
7.4.40.0160.00216.38
7.4.30.0140.00716.27
7.4.00.0070.00714.48
7.3.330.0000.00513.16
7.3.320.0090.00413.10
7.3.310.0000.00716.16
7.3.300.0030.00316.03
7.3.290.0050.01116.18
7.3.280.0070.01016.14
7.3.270.0060.01017.40
7.3.260.0060.01116.16
7.3.250.0120.01316.28
7.3.240.0090.01216.34
7.3.230.0070.01116.40
7.3.210.0030.01216.45
7.3.200.0080.01219.39
7.3.190.0130.00316.23
7.3.180.0130.00616.46
7.3.170.0080.01616.33
7.3.160.0100.01016.25
7.3.10.0100.00316.73
7.3.00.0000.01316.57
7.2.330.0100.00716.24
7.2.320.0090.01716.16
7.2.310.0090.00616.44
7.2.300.0060.01216.52
7.2.290.0040.01416.30
7.2.130.0090.00616.80
7.2.120.0060.00616.44
7.2.110.0030.00616.29
7.2.100.0060.00316.78
7.2.90.0070.00716.72
7.2.80.0060.00616.60
7.2.70.0130.00316.80
7.2.60.0050.00916.52
7.2.50.0100.00716.85
7.2.40.0110.00016.63
7.2.30.0090.00616.60
7.2.20.0040.01116.51
7.2.10.0000.01416.71
7.2.00.0080.00917.90
7.1.250.0030.00715.66
7.1.200.0040.00715.53
7.1.100.0040.00817.78
7.1.70.0000.01016.84
7.1.60.0100.01319.46
7.1.50.0130.01634.41
7.1.00.0000.08022.40
7.0.200.0000.00716.66
7.0.140.0000.03722.10
7.0.70.4170.03719.85
7.0.60.0030.08319.96
7.0.50.0000.04317.73
7.0.40.0030.05020.10
7.0.30.0230.05020.23
7.0.20.0230.07020.05
7.0.10.0170.04020.07
7.0.00.0070.06020.18
5.6.280.0130.06020.91
5.6.210.0070.07020.59
5.6.200.0030.08318.16
5.6.190.0130.05020.42
5.6.180.0270.07020.59
5.6.170.0370.05320.57
5.6.160.0000.05320.49
5.6.150.0000.05018.28
5.6.140.0030.08718.16
5.6.130.0030.05718.14
5.6.120.0000.04320.98
5.6.110.0130.04021.13
5.6.100.0130.05320.88
5.6.90.0130.07321.03
5.6.80.0100.08020.52
5.6.70.0200.08320.31
5.5.350.0070.08320.43
5.5.340.0070.04017.97
5.5.330.0130.03320.29
5.5.320.0070.08020.26
5.5.310.0230.03320.34
5.5.300.0030.04718.08
5.5.290.0100.03717.98
5.5.280.0100.04020.89
5.5.270.0100.08320.96
5.5.260.0130.08320.76
5.5.250.0030.04020.58
5.5.240.0130.07320.13
5.4.450.3170.04019.54
5.4.440.2970.04319.19
5.4.430.3170.04019.27
5.4.420.3170.04019.42
5.4.410.3470.04319.41
5.4.400.2970.04018.87
5.4.390.3000.05019.24
5.4.380.3400.03018.87
5.4.370.2830.04019.31
5.4.360.3800.03719.31
5.4.350.2870.04319.12
5.4.340.2970.04019.33
5.4.320.3230.02718.87
5.4.310.3200.03319.09
5.4.300.3230.03319.08
5.4.290.3070.03719.32
5.4.280.2670.03719.12
5.4.270.2630.03719.19
5.4.260.2700.03719.22
5.4.250.3100.04319.11
5.4.240.3130.04319.18
5.4.230.2700.04019.13
5.4.220.2870.03719.05
5.4.210.2830.04018.94
5.4.200.3170.04019.21
5.4.190.2400.03719.04
5.4.180.3400.04019.13
5.4.170.2670.03019.16
5.4.160.2700.03718.96
5.4.150.3130.04019.29
5.4.140.2270.03716.36
5.4.130.2630.03716.33
5.4.120.2700.03316.33
5.4.110.2670.03716.29
5.4.100.3000.02716.58
5.4.90.2730.04016.59
5.4.80.3070.03716.17
5.4.70.2600.04016.52
5.4.60.2730.04016.30
5.4.50.2830.03316.38
5.4.40.3130.03716.37
5.4.30.2830.03716.42
5.4.20.2600.04016.56
5.4.10.3100.03716.51
5.4.00.3070.03015.97
5.3.290.2600.04014.57
5.3.280.2700.04014.70
5.3.270.2700.03014.58
5.3.260.2830.04014.71
5.3.250.2900.04014.68
5.3.240.2700.03714.61
5.3.230.2970.03714.66
5.3.220.2870.04014.63
5.3.210.2930.03014.57
5.3.200.2500.03714.55
5.3.190.2600.03714.57
5.3.180.2670.03714.70
5.3.170.2870.03714.57
5.3.160.2630.03014.47
5.3.150.3130.04314.63
5.3.140.3570.03314.66
5.3.130.3130.04014.44
5.3.120.2900.04314.45
5.3.110.3630.03714.65
5.3.100.3170.03714.02
5.3.90.2500.04014.16
5.3.80.2870.04013.91
5.3.70.2530.02714.09
5.3.60.3330.04013.90
5.3.50.3200.04713.85
5.3.40.3000.03713.85
5.3.30.2830.04013.88
5.3.20.2900.03313.69
5.3.10.3170.03313.63
5.3.00.2830.04013.71
5.2.170.2630.03311.48
5.2.160.2200.02311.48
5.2.150.2370.03311.48
5.2.140.2130.03011.48
5.2.130.2830.03011.48
5.2.120.2300.03011.48
5.2.110.2600.03011.48
5.2.100.2230.03311.48
5.2.90.2700.02711.48
5.2.80.2500.03711.48
5.2.70.2030.03011.48
5.2.60.2400.03011.48
5.2.50.2500.03011.48
5.2.40.1930.03711.48
5.2.30.1730.03011.48
5.2.20.2300.03011.48
5.2.10.1870.02711.48
5.2.00.2170.03011.48
5.1.60.1900.02711.48
5.1.50.2230.02711.48
5.1.40.1500.02011.48
5.1.30.1970.02711.48
5.1.20.2170.03311.48
5.1.10.2200.03011.48
5.1.00.2230.03011.48
5.0.50.1170.02711.48
5.0.40.1100.02311.48
5.0.30.1230.04011.48
5.0.20.1070.02011.48
5.0.10.0970.03011.48
5.0.00.0670.05011.48
4.4.90.1100.01711.48
4.4.80.1170.01311.48
4.4.70.0930.01711.48
4.4.60.1100.01711.48
4.4.50.0970.01311.48
4.4.40.1100.03011.48
4.4.30.1070.01711.48
4.4.20.0930.02311.48
4.4.10.0970.01711.48
4.4.00.1000.02011.48
4.3.110.1100.01711.48
4.3.100.0930.01711.48
4.3.90.0630.01711.48
4.3.80.1230.02711.48
4.3.70.0930.01711.48
4.3.60.1200.02011.48
4.3.50.0870.01711.48
4.3.40.0730.02311.48
4.3.30.0530.02711.48
4.3.20.0700.02011.48
4.3.10.0630.01011.48
4.3.00.0000.03311.48

preferences:
37.47 ms | 401 KiB | 5 Q