3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Flickr; class Datamapper { public function __construct() { echo 'Hello world'; } } $classname = 'Flickr\Datamapper'; $obj = new $classname();

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.4.10.0100.00717.66
8.3.140.0120.00617.15
8.3.130.0000.00818.61
8.3.120.0090.00019.10
8.3.110.0050.00320.94
8.3.100.0090.00616.41
8.3.90.0090.00026.77
8.3.80.0060.00318.43
8.3.70.0100.01016.63
8.3.60.0070.01016.75
8.3.50.0110.00822.05
8.3.40.0120.00618.77
8.3.30.0030.01218.95
8.3.20.0000.00820.36
8.3.10.0030.00521.78
8.3.00.0080.00017.68
8.2.260.0060.00318.54
8.2.250.0070.00716.79
8.2.240.0060.00320.73
8.2.230.0060.00322.58
8.2.220.0060.00324.06
8.2.210.0100.01026.77
8.2.200.0040.00418.29
8.2.190.0140.00716.63
8.2.180.0130.00716.75
8.2.170.0130.00322.96
8.2.160.0100.00322.31
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.90
8.2.110.0040.00422.13
8.2.100.0100.00317.72
8.2.90.0040.00419.13
8.2.80.0030.00617.97
8.2.70.0060.00317.50
8.2.60.0050.00517.68
8.2.50.0030.00518.07
8.2.40.0040.00418.03
8.2.30.0040.00417.90
8.2.20.0050.00217.71
8.2.10.0000.00718.13
8.2.00.0040.00417.68
8.1.310.0100.00718.51
8.1.300.0030.00717.88
8.1.290.0080.00030.84
8.1.280.0080.00825.92
8.1.270.0090.00022.19
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00823.88
8.1.230.0040.00719.14
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0080.00317.35
8.1.190.0040.00417.11
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0040.00421.86
8.1.150.0040.00418.71
8.1.140.0070.00017.42
8.1.130.0000.00717.88
8.1.120.0040.00417.39
8.1.110.0050.00217.43
8.1.100.0030.00317.28
8.1.90.0050.00217.30
8.1.80.0030.00317.31
8.1.70.0000.00717.36
8.1.60.0030.00517.55
8.1.50.0040.00417.50
8.1.40.0040.00417.50
8.1.30.0030.00717.52
8.1.20.0040.00417.57
8.1.10.0000.00717.55
8.1.00.0040.00417.47
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.43
8.0.270.0040.00416.85
8.0.260.0040.00417.16
8.0.250.0000.00716.82
8.0.240.0050.00216.95
8.0.230.0030.00516.77
8.0.220.0030.00316.71
8.0.210.0040.00416.82
8.0.200.0030.00516.87
8.0.190.0040.00416.89
8.0.180.0040.00416.71
8.0.170.0040.00416.70
8.0.160.0000.00716.77
8.0.150.0000.01116.75
8.0.140.0030.00316.71
8.0.130.0000.00713.30
8.0.120.0040.00416.78
8.0.110.0030.00516.70
8.0.100.0030.00316.71
8.0.90.0000.00716.60
8.0.80.0110.00316.74
8.0.70.0000.00716.70
8.0.60.0000.00716.79
8.0.50.0030.00516.68
8.0.30.0140.00616.88
8.0.20.0120.00817.40
8.0.10.0040.00416.92
8.0.00.0150.00316.90
7.4.330.0030.00315.00
7.4.320.0000.00616.41
7.4.300.0080.00016.51
7.4.290.0000.00716.51
7.4.280.0030.00316.61
7.4.270.0000.00716.50
7.4.260.0000.00716.47
7.4.250.0000.00816.54
7.4.240.0020.00516.58
7.4.230.0030.00316.62
7.4.220.0030.00316.59
7.4.210.0100.00516.52
7.4.200.0070.00016.40
7.4.160.0100.00716.64
7.4.150.0170.00317.40
7.4.140.0130.00717.86
7.4.130.0110.00716.51
7.4.120.0080.01016.42
7.4.110.0140.00516.55
7.4.100.0040.01816.23
7.4.90.0070.01016.57
7.4.80.0110.00819.39
7.4.70.0060.01016.54
7.4.60.0100.00716.52
7.4.50.0080.00016.16
7.4.40.0090.00616.50
7.4.30.0100.00716.42
7.4.00.0110.00414.65
7.3.330.0000.00513.26
7.3.320.0000.00513.16
7.3.310.0050.00216.33
7.3.300.0000.00716.18
7.3.290.0100.00516.31
7.3.280.0080.00816.31
7.3.270.0090.00917.40
7.3.260.0140.00316.21
7.3.250.0090.00916.31
7.3.240.0050.01116.30
7.3.230.0070.01416.39
7.3.210.0070.01016.63
7.3.200.0110.01119.39
7.3.190.0030.01316.30
7.3.180.0100.01016.17
7.3.170.0120.00316.27
7.3.160.0060.01216.37
7.3.120.0030.00914.64
7.3.10.0070.00716.67
7.3.00.0050.00516.68
7.2.330.0070.01016.36
7.2.320.0130.00916.45
7.2.310.0060.01116.55
7.2.300.0130.00316.74
7.2.290.0060.00916.80
7.2.130.0130.00016.88
7.2.120.0110.00316.94
7.2.110.0090.00616.62
7.2.100.0030.00916.94
7.2.90.0040.01217.07
7.2.80.0090.00616.85
7.2.70.0000.01416.61
7.2.60.0070.00316.96
7.2.50.0070.00316.85
7.2.40.0090.00616.68
7.2.30.0060.00916.80
7.2.20.0140.00016.89
7.2.10.0100.00316.94
7.2.00.0070.00518.18
7.1.250.0110.00315.53
7.1.100.0000.01418.14
7.1.70.0030.00317.15
7.1.60.0030.00717.10
7.1.50.0030.02016.93
7.1.00.0070.07022.46
7.0.200.0050.00216.62
7.0.140.0000.07721.92
7.0.60.0070.06019.94
7.0.50.0070.07317.77
7.0.40.0030.04720.11
7.0.30.0300.03720.30
7.0.20.0370.04720.12
7.0.10.0030.07320.22
7.0.00.0200.07720.12
5.6.280.0100.06320.78
5.6.210.0100.08020.46
5.6.200.0030.06718.19
5.6.190.0030.04720.48
5.6.180.0400.07020.34
5.6.170.0230.03320.62
5.6.160.0030.04720.50
5.6.150.0030.05718.18
5.6.140.0170.07318.19
5.6.130.0030.04018.11
5.6.120.0170.07321.00
5.6.110.0100.07721.14
5.6.100.0030.07320.89
5.6.90.0000.04321.03
5.6.80.0000.05720.29
5.5.350.0200.08020.34
5.5.340.0130.06318.09
5.5.330.0030.04020.27
5.5.320.3100.04320.27
5.5.310.0300.06320.34
5.5.300.0070.04018.07
5.5.290.0070.04317.98
5.5.280.0100.07720.80
5.5.270.0100.04720.74
5.5.260.0070.04020.89
5.5.250.0100.05020.62
5.5.240.0000.03720.16
5.4.450.0070.06319.34
5.4.440.0970.07319.60
5.4.430.0270.04319.43
5.4.420.0070.06019.58
5.4.410.0130.05018.95
5.4.400.0100.05718.77
5.4.390.0070.05318.80
5.4.380.0030.06018.58
5.4.370.0070.04018.48
5.4.360.0170.04018.69
5.4.350.0050.04912.02
5.4.340.0090.04112.02
5.4.320.0080.04112.50
5.4.310.0070.03712.49
5.4.300.0070.03512.50
5.4.290.0050.03812.50
5.4.280.0030.03712.39
5.4.270.0020.03912.39
5.4.260.0060.03612.39
5.4.250.0020.04012.39
5.4.240.0050.03512.39
5.4.230.0040.03812.39
5.4.220.0080.03712.38
5.4.210.0060.03412.39
5.4.200.0060.03712.38
5.4.190.0020.04012.38
5.4.180.0040.03712.38
5.4.170.0030.03712.39
5.4.160.0050.03712.39
5.4.150.0060.03512.39
5.4.140.0030.03912.07
5.4.130.0040.03612.06
5.4.120.0050.03712.02
5.4.110.0020.03812.02
5.4.100.0040.03612.01
5.4.90.0050.03712.02
5.4.80.0070.03412.01
5.4.70.0080.03112.01
5.4.60.0050.03412.01
5.4.50.0020.03812.00
5.4.40.0060.03412.00
5.4.30.0060.03512.00
5.4.20.0050.03512.00
5.4.10.0070.03311.99
5.4.00.0040.03711.48
5.3.290.0060.04012.80
5.3.280.0050.03812.71
5.3.270.0070.03712.72
5.3.260.0060.03912.72
5.3.250.0040.03912.71
5.3.240.0020.04112.72
5.3.230.0070.03712.71
5.3.220.0040.03912.68
5.3.210.0070.03712.68
5.3.200.0050.03712.68
5.3.190.0040.04012.68
5.3.180.0020.03912.68
5.3.170.0030.03912.67
5.3.160.0080.03412.67
5.3.150.0030.04012.67
5.3.140.0060.03612.66
5.3.130.0060.03812.66
5.3.120.0050.04012.66
5.3.110.0050.04012.66
5.3.100.0050.03812.12
5.3.90.0030.04112.09
5.3.80.0060.03512.09
5.3.70.0090.03212.09
5.3.60.0030.03812.07
5.3.50.0080.03712.02
5.3.40.0050.03612.02
5.3.30.0050.03511.97
5.3.20.0040.03611.75
5.3.10.0110.02911.72
5.3.00.0080.03811.71
5.2.170.0030.0329.18
5.2.160.0040.0309.18
5.2.150.0050.0309.18
5.2.140.0100.0339.17
5.2.130.0070.0279.14
5.2.120.0010.0329.13
5.2.110.0050.0289.15
5.2.100.0040.0299.14
5.2.90.0030.0309.14
5.2.80.0010.0339.14
5.2.70.0050.0299.14
5.2.60.0040.0309.09
5.2.50.0020.0329.06
5.2.40.0030.0309.03
5.2.30.0060.0289.02
5.2.20.0030.0329.00
5.2.10.0020.0308.93
5.2.00.0020.0318.78
5.1.60.0050.0238.07
5.1.50.0050.0238.06
5.1.40.0050.0228.04
5.1.30.0060.0238.40
5.1.20.0030.0278.42
5.1.10.0050.0298.14
5.1.00.0040.0268.14
5.0.50.0030.0206.63
5.0.40.0010.0216.48
5.0.30.0040.0306.29
5.0.20.0060.0166.26
5.0.10.0010.0226.24
5.0.00.0040.0296.23
4.4.90.0020.0164.78
4.4.80.0050.0134.75
4.4.70.0030.0154.75
4.4.60.0020.0164.75
4.4.50.0000.0184.77
4.4.40.0060.0234.70
4.4.30.0030.0154.76
4.4.20.0040.0144.84
4.4.10.0050.0144.85
4.4.00.0060.0224.76
4.3.110.0040.0144.67
4.3.100.0040.0134.66
4.3.90.0040.0134.63
4.3.80.0040.0234.59
4.3.70.0020.0154.63
4.3.60.0040.0144.63
4.3.50.0040.0144.63
4.3.40.0030.0234.54
4.3.30.0030.0153.28
4.3.20.0020.0173.26
4.3.10.0020.0163.22
4.3.00.0070.0236.80

preferences:
72.8 ms | 403 KiB | 5 Q