3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { class Xyz {} function abc () {} } namespace bar { use foo\Xyz; use foo\abc; function abc() { echo 'asdf'; } var_dump(new Xyz()); // instantiates \foo\Xyz var_dump(\foo\abc()); // it has to be invoked using the fully qualified name } ?>

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.01418.56
8.3.50.0210.00221.21
8.3.40.0070.00718.59
8.3.30.0040.01120.36
8.3.20.0050.00320.36
8.3.10.0000.00821.95
8.3.00.0000.00722.42
8.2.180.0180.00416.50
8.2.170.0120.00322.96
8.2.160.0130.00022.16
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00720.80
8.2.110.0070.00320.99
8.2.100.0120.00017.59
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0080.00017.38
8.2.60.0030.00617.80
8.2.50.0050.00318.07
8.2.40.0000.00818.21
8.2.30.0000.00719.35
8.2.20.0040.00417.48
8.2.10.0040.00417.50
8.2.00.0060.00317.55
8.1.280.0150.00625.92
8.1.270.0060.00323.99
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0030.00621.30
8.1.230.0040.00817.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.10
8.1.190.0050.00316.98
8.1.180.0030.00518.10
8.1.170.0040.00418.53
8.1.160.0000.00718.83
8.1.150.0080.00018.52
8.1.140.0040.00417.33
8.1.130.0000.00717.77
8.1.120.0040.00417.36
8.1.110.0000.00717.33
8.1.100.0040.00417.36
8.1.90.0040.00417.34
8.1.80.0070.00017.38
8.1.70.0030.00517.32
8.1.60.0040.00417.51
8.1.50.0000.00817.36
8.1.40.0080.00017.36
8.1.30.0000.00817.58
8.1.20.0040.00417.55
8.1.10.0050.00317.49
8.1.00.0000.00817.27
8.0.300.0070.00018.77
8.0.290.0050.00316.58
8.0.280.0040.00418.44
8.0.270.0000.00717.20
8.0.260.0030.00316.76
8.0.250.0030.00316.91
8.0.240.0080.00216.88
8.0.230.0030.00316.83
8.0.220.0000.00716.70
8.0.210.0070.00016.77
8.0.200.0030.00316.74
8.0.190.0020.00516.82
8.0.180.0000.00716.70
8.0.170.0000.00816.70
8.0.160.0040.00416.63
8.0.150.0040.00316.71
8.0.140.0040.00716.66
8.0.130.0000.00613.16
8.0.120.0000.00716.69
8.0.110.0040.00416.80
8.0.100.0030.00616.83
8.0.90.0000.00716.67
8.0.80.0100.01016.77
8.0.70.0040.00416.63
8.0.60.0000.00716.79
8.0.50.0000.00716.77
8.0.30.0100.01216.97
8.0.20.0130.00817.40
8.0.10.0040.00416.82
8.0.00.0110.00916.72
7.4.330.0050.00016.74
7.4.320.0000.00816.38
7.4.300.0060.00016.54
7.4.290.0030.00316.53
7.4.280.0040.00416.48
7.4.270.0000.00616.46
7.4.260.0000.00513.16
7.4.250.0040.00416.43
7.4.240.0020.00516.50
7.4.230.0000.00716.54
7.4.220.0090.00916.58
7.4.210.0080.00816.52
7.4.200.0030.00316.55
7.4.190.0000.00616.54
7.4.160.0140.00316.50
7.4.150.0100.00717.40
7.4.140.0050.01217.86
7.4.130.0080.01216.39
7.4.120.0050.01216.45
7.4.110.0100.01016.52
7.4.100.0080.00816.60
7.4.90.0140.00716.39
7.4.80.0130.00719.39
7.4.70.0140.01016.28
7.4.60.0070.01416.32
7.4.50.0040.00416.38
7.4.40.0070.00722.77
7.4.30.0060.01216.53
7.4.10.0080.01015.74
7.4.00.0100.00615.20
7.3.330.0000.00613.24
7.3.320.0000.00513.25
7.3.310.0000.00716.23
7.3.300.0000.00716.24
7.3.290.0040.01116.20
7.3.280.0060.01016.21
7.3.270.0030.01317.40
7.3.260.0060.01016.41
7.3.250.0070.00916.24
7.3.240.0090.00616.30
7.3.230.0030.01316.47
7.3.210.0040.01216.16
7.3.200.0070.01019.39
7.3.190.0100.00616.43
7.3.180.0160.00016.24
7.3.170.0030.01216.29
7.3.160.0030.01316.33
7.3.130.0070.01015.70
7.3.120.0060.01215.08
7.3.110.0070.01015.05
7.3.100.0070.00815.12
7.3.90.0050.00915.09
7.3.80.0040.01115.04
7.3.70.0060.00815.18
7.3.60.0060.01015.16
7.3.50.0060.01015.05
7.3.40.0070.00615.20
7.3.30.0090.00715.05
7.3.20.0070.00816.93
7.3.10.0060.00916.80
7.3.00.0070.00816.91
7.2.330.0070.01016.48
7.2.320.0180.00516.20
7.2.310.0140.00616.47
7.2.300.0070.01016.39
7.2.290.0060.00916.63
7.2.260.0100.00815.83
7.2.250.0100.00815.48
7.2.240.0070.01015.34
7.2.230.0050.01015.31
7.2.220.0060.00915.38
7.2.210.0040.01015.19
7.2.200.0070.01015.31
7.2.190.0080.00715.29
7.2.180.0070.00815.13
7.2.170.0020.01315.23
7.2.160.0060.01115.31
7.2.150.0070.00617.12
7.2.140.0080.00817.13
7.2.130.0060.00717.15
7.2.120.0080.00617.09
7.2.110.0050.01117.14
7.2.100.0050.00817.12
7.2.90.0080.00917.11
7.2.80.0080.00917.02
7.2.70.0030.01117.18
7.2.60.0070.00717.04
7.2.50.0080.00817.11
7.2.40.0060.01117.20
7.2.30.0060.00917.11
7.2.20.0050.01017.21
7.2.10.0090.00517.05
7.2.00.0080.00717.67
7.1.330.0060.00816.07
7.1.320.0070.00916.02
7.1.310.0070.00816.06
7.1.300.0080.00615.89
7.1.290.0050.00615.90
7.1.280.0040.01016.04
7.1.270.0060.01015.98
7.1.260.0050.00916.00
7.1.250.0060.00815.97
7.1.240.0060.01016.06
7.1.230.0070.00716.06
7.1.220.0060.00616.12
7.1.210.0060.00816.04
7.1.200.0060.00916.06
7.1.190.0080.00616.15
7.1.180.0060.00616.13
7.1.170.0050.00716.07
7.1.160.0070.00816.10
7.1.150.0050.00716.08
7.1.140.0070.00616.23
7.1.130.0050.00916.20
7.1.120.0050.00615.97
7.1.110.0060.00716.24
7.1.100.0050.00816.48
7.1.90.0050.00916.10
7.1.80.0040.00716.14
7.1.70.0060.00616.35
7.1.60.0060.01116.89
7.1.50.0060.01016.30
7.1.40.0050.00916.06
7.1.30.0070.00716.01
7.1.20.0040.00916.12
7.1.10.0040.01016.13
7.1.00.0080.01317.72
7.0.330.0060.00815.67
7.0.320.0060.00715.84
7.0.310.0090.00415.83
7.0.300.0040.01115.78
7.0.290.0030.00915.68
7.0.280.0080.00415.73
7.0.270.0080.00715.88
7.0.260.0050.00615.87
7.0.250.0070.00515.76
7.0.240.0030.00915.84
7.0.230.0030.00815.90
7.0.220.0020.01115.77
7.0.210.0050.00815.80
7.0.200.0050.00816.05
7.0.190.0050.00915.80
7.0.180.0070.00515.91
7.0.170.0040.01015.86
7.0.160.0040.01015.83
7.0.150.0020.01215.87
7.0.140.0070.02417.48
7.0.130.0030.00915.85
7.0.120.0070.00615.84
7.0.110.0050.00815.84
7.0.100.0070.00515.81
7.0.90.0030.00915.81
7.0.80.0150.02416.82
7.0.70.0150.02416.90
7.0.60.0080.01916.77
7.0.50.0050.01716.95
7.0.40.0050.02615.44
7.0.30.0060.02415.50
7.0.20.0070.01415.38
7.0.10.0060.01715.44
7.0.00.0010.02015.44
5.6.400.0050.00914.78
5.6.390.0100.00714.88
5.6.380.0080.00814.73
5.6.370.0050.00914.76
5.6.360.0040.01114.84
5.6.350.0080.00614.80
5.6.340.0050.00814.61
5.6.330.0050.00714.80
5.6.320.0060.00714.71
5.6.310.0070.00714.65
5.6.300.0070.00814.54
5.6.290.0060.01014.63
5.6.280.0030.02316.29
5.6.270.0030.01014.88
5.6.260.0070.00614.79
5.6.250.0030.01014.74
5.6.240.0050.00714.76
5.6.230.0080.01216.24
5.6.220.0050.02716.16
5.6.210.0070.02016.29
5.6.200.0030.02616.33
5.6.190.0050.01916.44
5.6.180.0060.02416.42
5.6.170.0060.02216.30
5.6.160.0050.02216.27
5.6.150.0090.02216.35
5.6.140.0070.01616.18
5.6.130.0060.02416.36
5.6.120.0070.02316.29
5.6.110.0060.01816.25
5.6.100.0070.01816.36
5.6.90.0060.01916.26
5.6.80.0090.02216.11
5.6.70.0060.01616.10
5.6.60.0080.02316.00
5.6.50.0070.02316.05
5.6.40.0040.02816.08
5.6.30.0060.02716.09
5.6.20.0070.02116.08
5.6.10.0090.01316.20
5.6.00.0080.02316.05
5.5.380.0020.01014.58
5.5.370.0050.01516.20
5.5.360.0080.02416.09
5.5.350.0070.02515.98
5.5.340.0080.02416.15
5.5.330.0070.01316.16
5.5.320.0050.02616.18
5.5.310.0070.01516.12
5.5.300.0070.01316.15
5.5.290.0080.02416.14
5.5.280.0060.02916.01
5.5.270.0040.01616.18
5.5.260.0060.01916.12
5.5.250.0070.02216.11
5.5.240.0060.01616.00
5.5.230.0060.02315.91
5.5.220.0080.02415.91
5.5.210.0100.01715.94
5.5.200.0070.01716.01
5.5.190.0030.01816.09
5.5.180.0060.01916.05
5.5.170.0050.00714.70
5.5.160.0040.02516.01
5.5.150.0070.01215.95
5.5.140.0050.02116.00
5.5.130.0050.01615.96
5.5.120.0050.01416.05
5.5.110.0060.01316.04
5.5.100.0050.01615.97
5.5.90.0030.01816.05
5.5.80.0030.01616.08
5.5.70.0030.01715.88
5.5.60.0040.01715.88
5.5.50.0040.02115.95
5.5.40.0080.01416.01
5.5.30.0060.01515.91
5.5.20.0070.01415.99
5.5.10.0070.01515.93
5.5.00.0090.01315.90
5.4.450.0050.01513.61
5.4.440.0060.02213.60
5.4.430.0050.02313.63
5.4.420.0040.02413.58
5.4.410.0050.02513.57
5.4.400.0030.02013.52
5.4.390.0060.02313.51
5.4.380.0090.01413.48
5.4.370.0020.02713.54
5.4.360.0030.02513.61
5.4.350.0030.01813.50
5.4.340.0060.02213.51
5.4.330.0010.00911.72
5.4.320.0070.01013.58
5.4.310.0030.01613.58
5.4.300.0050.02413.52
5.4.290.0050.01413.49
5.4.280.0030.01313.52
5.4.270.0060.01413.57
5.4.260.0080.01213.56
5.4.250.0040.01313.55
5.4.240.0060.01013.60
5.4.230.0030.01513.51
5.4.220.0050.01413.54
5.4.210.0060.02313.54
5.4.200.0050.02413.47
5.4.190.0050.01413.52
5.4.180.0020.01813.51
5.4.170.0040.01513.51
5.4.160.0050.01313.61
5.4.150.0050.01413.50
5.4.140.0030.01212.98
5.4.130.0030.01212.86
5.4.120.0030.01312.91
5.4.110.0020.01712.89
5.4.100.0030.01212.87
5.4.90.0030.01312.87
5.4.80.0020.01412.84
5.4.70.0040.01612.87
5.4.60.0050.01312.87
5.4.50.0060.01212.90
5.4.40.0030.01312.90
5.4.30.0050.01312.86
5.4.20.0040.01112.91
5.4.10.0050.01212.89
5.4.00.0050.01212.76
5.3.290.0050.01412.59
5.3.280.0050.01412.52
5.3.270.0040.01412.53
5.3.260.0060.01412.51
5.3.250.0050.01312.57
5.3.240.0030.01412.59
5.3.230.0020.01712.49
5.3.220.0030.01612.53
5.3.210.0070.01212.47
5.3.200.0020.01512.55
5.3.190.0050.01212.52
5.3.180.0020.01612.62
5.3.170.0030.01612.52
5.3.160.0050.01212.60
5.3.150.0030.01412.54
5.3.140.0030.01412.50
5.3.130.0070.01112.58
5.3.120.0030.01412.54
5.3.110.0030.01512.55
5.3.100.0050.01012.41
5.3.90.0050.01112.35
5.3.80.0020.01512.32
5.3.70.0060.01112.36
5.3.60.0040.01112.39
5.3.50.0040.00912.35
5.3.40.0040.01212.33
5.3.30.0040.01212.31
5.3.20.0050.01212.34
5.3.10.0030.01412.25
5.3.00.0050.01012.22
5.2.170.0000.03011.98
5.2.160.0030.02711.98
5.2.150.0030.02311.98
5.2.140.0000.02711.98
5.2.130.0030.02311.98
5.2.120.0070.02011.98
5.2.110.0000.02711.98
5.2.100.0030.02711.98
5.2.90.0030.02711.98
5.2.80.0070.06311.98
5.2.70.0000.04011.98
5.2.60.0000.06011.98
5.2.50.0000.04311.98
5.2.40.0030.03011.98
5.2.30.0030.02711.98
5.2.20.0070.04011.98
5.2.10.0070.04311.98
5.2.00.0030.06011.98
5.1.60.0000.05711.98
5.1.50.0070.05311.98
5.1.40.0070.03711.98
5.1.30.0000.03311.98
5.1.20.0070.05011.98
5.1.10.0100.04711.98
5.1.00.0100.04011.98
5.0.50.0070.04311.98
5.0.40.0030.04011.98
5.0.30.0070.06011.98
5.0.20.0000.04011.98
5.0.10.0070.03311.98
5.0.00.0030.05311.98
4.4.90.0030.02711.98
4.4.80.0000.02011.98
4.4.70.0030.02011.98
4.4.60.0030.03011.98
4.4.50.0030.03011.98
4.4.40.0070.04711.98
4.4.30.0030.03711.98
4.4.20.0030.02011.98
4.4.10.0000.03011.98
4.4.00.0070.04011.98
4.3.110.0000.03711.98
4.3.100.0000.02711.98
4.3.90.0030.03711.98
4.3.80.0030.05711.98
4.3.70.0070.02311.98
4.3.60.0000.03311.98
4.3.50.0000.03711.98
4.3.40.0000.05011.98
4.3.30.0030.02311.98
4.3.20.0000.02011.98
4.3.10.0000.03711.98
4.3.00.0000.02711.98

preferences:
55.45 ms | 401 KiB | 5 Q