3v4l.org

run code in 300+ PHP versions simultaneously
<?php class dupa { public $a; public function _construct() { echo '+_construct'; } public function dupa($param) { $this->$a = $param; } }; $a = new dupa('blabla'); ?>

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.0120.00918.08
8.3.50.0080.00821.93
8.3.40.0060.00918.53
8.3.30.0070.00719.10
8.3.20.0040.00420.20
8.3.10.0030.00522.09
8.3.00.0000.01120.77
8.2.180.0070.01116.63
8.2.170.0100.00722.96
8.2.160.0110.00421.00
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0050.00317.50
8.2.110.0100.00022.07
8.2.100.0080.00317.59
8.2.90.0080.00019.15
8.2.80.0030.00619.64
8.2.70.0030.00917.50
8.2.60.0030.00617.66
8.2.50.0050.00318.07
8.2.40.0060.00618.09
8.2.30.0070.00417.87
8.2.20.0080.00017.64
8.2.10.0040.00419.32
8.2.00.0050.00317.52
8.1.280.0140.00325.92
8.1.270.0070.00022.17
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.87
8.1.230.0000.01019.10
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0070.00317.23
8.1.190.0050.00317.30
8.1.180.0050.00318.10
8.1.170.0000.01018.65
8.1.160.0070.00021.95
8.1.150.0000.00718.48
8.1.140.0070.00017.32
8.1.130.0070.00017.81
8.1.120.0000.00717.29
8.1.110.0000.00717.29
8.1.100.0000.00717.45
8.1.90.0000.00817.41
8.1.80.0000.00717.27
8.1.70.0000.00717.36
8.1.60.0030.00617.53
8.1.50.0000.00717.44
8.1.40.0000.00717.42
8.1.30.0060.00317.52
8.1.20.0000.00817.50
8.1.10.0050.00317.48
8.1.00.0030.00617.43
8.0.300.0080.00018.77
8.0.290.0030.00617.16
8.0.280.0040.00418.39
8.0.270.0080.00017.11
8.0.260.0030.00316.63
8.0.250.0070.00016.90
8.0.240.0030.00316.80
8.0.230.0000.00716.91
8.0.220.0030.00316.73
8.0.210.0030.00316.77
8.0.200.0060.00016.90
8.0.190.0050.00216.89
8.0.180.0030.00416.75
8.0.170.0050.00316.89
8.0.160.0050.00316.75
8.0.150.0000.00716.66
8.0.140.0040.00416.82
8.0.130.0000.00513.25
8.0.120.0000.00716.66
8.0.110.0070.00016.80
8.0.100.0080.00016.71
8.0.90.0000.00816.89
8.0.80.0090.00616.75
8.0.70.0040.00416.70
8.0.60.0050.00316.70
8.0.50.0050.00216.82
8.0.30.0100.01117.09
8.0.20.0090.01417.40
8.0.10.0070.00016.98
8.0.00.0100.01016.60
7.4.330.0000.00515.02
7.4.320.0000.00616.55
7.4.300.0030.00616.55
7.4.290.0000.00916.59
7.4.280.0030.00316.59
7.4.270.0030.00316.41
7.4.260.0000.00816.51
7.4.250.0020.00516.56
7.4.240.0040.00316.60
7.4.230.0070.00016.55
7.4.220.0120.00616.54
7.4.210.0090.00616.65
7.4.200.0070.00016.30
7.4.190.0080.00016.38
7.4.160.0100.01016.43
7.4.150.0070.01017.40
7.4.140.0100.00817.86
7.4.130.0130.00816.35
7.4.120.0070.01516.53
7.4.110.0070.01316.45
7.4.100.0130.00316.45
7.4.90.0090.01016.45
7.4.80.0080.00819.39
7.4.70.0090.00916.42
7.4.60.0060.01016.51
7.4.50.0060.00016.63
7.4.40.0070.00722.77
7.4.30.0030.01316.72
7.4.00.0040.01415.00
7.3.330.0030.00313.42
7.3.320.0050.00013.34
7.3.310.0030.00316.34
7.3.300.0030.00316.28
7.3.290.0030.01016.29
7.3.280.0080.01016.34
7.3.270.0200.00417.40
7.3.260.0140.00316.31
7.3.250.0150.00416.54
7.3.240.0090.00616.21
7.3.230.0110.00916.57
7.3.210.0150.00316.36
7.3.200.0140.00719.39
7.3.190.0140.00716.36
7.3.180.0030.01316.61
7.3.170.0070.01116.33
7.3.160.0000.01516.30
7.3.120.0000.01714.98
7.3.00.0090.00316.81
7.2.330.0110.00716.41
7.2.320.0100.00716.69
7.2.310.0080.00816.63
7.2.300.0070.01016.42
7.2.290.0100.00716.68
7.2.130.0090.00316.93
7.2.120.0040.01116.99
7.2.110.0060.00316.82
7.2.100.0060.00617.00
7.2.90.0120.00017.01
7.2.80.0000.01016.86
7.2.70.0090.00616.68
7.2.60.0050.00916.59
7.2.50.0000.01316.68
7.2.40.0120.00316.93
7.2.30.0100.00316.92
7.2.20.0070.00716.82
7.2.10.0090.00616.83
7.2.00.0070.00618.18
7.1.250.0100.00715.29
7.1.240.0030.00815.44
7.1.230.0070.00715.66
7.1.220.0070.00315.77
7.1.210.0060.00315.41
7.1.200.0120.00215.43
7.1.190.0040.00715.60
7.1.180.0000.01115.70
7.1.170.0050.00515.67
7.1.160.0130.00315.72
7.1.150.0070.00715.66
7.1.140.0100.00715.29
7.1.130.0160.00315.53
7.1.120.0030.00615.46
7.1.110.0060.00615.80
7.1.100.0020.01016.98
7.1.90.0100.00315.54
7.1.80.0040.00815.63
7.1.70.0080.00416.29
7.1.60.0040.01317.66
7.1.50.0090.00716.14
7.1.40.0090.00315.43
7.1.30.0070.00715.65
7.1.20.0070.00715.67
7.1.10.0110.00015.51
7.1.00.0020.04219.00
7.0.330.0030.01015.40
7.0.320.0000.00715.52
7.0.310.0000.00815.39
7.0.300.0030.00915.17
7.0.290.0030.01015.24
7.0.280.0130.00315.39
7.0.270.0050.00515.43
7.0.260.0040.00815.14
7.0.250.0030.00615.16
7.0.240.0090.00015.21
7.0.230.0080.00415.46
7.0.220.0070.00315.19
7.0.210.0030.00915.51
7.0.200.0020.01016.05
7.0.190.0030.00715.09
7.0.180.0000.01015.18
7.0.170.0090.00315.30
7.0.160.0070.00715.46
7.0.150.0000.00815.11
7.0.140.0080.03718.59
7.0.130.0070.00715.49
7.0.120.0070.00715.30
7.0.110.0050.00815.34
7.0.100.0110.00315.24
7.0.90.0030.01015.18
7.0.80.0000.01515.39
7.0.70.0130.00715.29
7.0.60.0030.03717.70
7.0.50.0060.01916.71
7.0.40.0080.03516.64
7.0.30.0060.02816.80
7.0.20.0150.04316.70
7.0.10.0060.04316.65
7.0.00.0070.04516.84
5.6.380.0030.00614.56
5.6.370.0030.00714.34
5.6.360.0000.01614.18
5.6.350.0110.00314.18
5.6.340.0030.00614.05
5.6.330.0100.00714.44
5.6.320.0030.01014.28
5.6.310.0050.00513.91
5.6.300.0050.00513.94
5.6.290.0090.00014.36
5.6.280.0100.03517.75
5.6.270.0060.00613.89
5.6.260.0090.00614.22
5.6.250.0040.00414.42
5.6.240.0030.00714.07
5.6.230.0030.00714.24
5.6.220.0070.00714.26
5.6.210.0050.04817.40
5.6.200.0030.02416.28
5.6.190.0070.04717.36
5.6.180.2100.02517.43
5.6.170.0130.02517.53
5.6.160.0100.04317.50
5.6.150.0070.04516.13
5.6.140.0050.03316.17
5.6.130.0090.04316.09
5.6.120.0030.02317.69
5.6.110.0070.04317.76
5.6.100.0130.03517.65
5.6.90.0070.02217.61
5.6.80.0050.02117.20
5.6.70.2200.02817.27
5.6.60.0030.00714.03
5.6.50.0120.00314.24
5.6.40.0000.01014.10
5.6.30.0040.00814.23
5.6.20.0070.00714.46
5.6.10.0000.01214.12
5.6.00.0040.01114.27
5.5.380.0030.00911.09
5.5.370.0110.00011.20
5.5.360.0050.00311.31
5.5.350.0050.03515.62
5.5.340.0080.03014.58
5.5.330.0050.02715.70
5.5.320.0150.03015.57
5.5.310.0210.03715.50
5.5.300.0090.02614.43
5.5.290.0070.04314.56
5.5.280.0030.03215.88
5.5.270.0100.04115.96
5.5.260.0030.04815.82
5.5.250.0080.03515.98
5.5.240.0150.04315.30
5.5.230.0060.00610.82
5.5.220.0030.00311.07
5.5.210.0030.00711.16
5.5.200.0030.00711.20
5.5.190.0070.00010.81
5.5.180.0000.01210.82
5.5.170.0000.00710.78
5.5.160.0000.00711.21
5.5.150.0000.00711.20
5.5.140.0000.00910.95
5.5.130.0000.01211.17
5.5.120.0000.00811.20
5.5.110.0030.00611.21
5.5.100.0030.00310.88
5.5.90.0060.00610.77
5.5.80.0030.00311.39
5.5.70.0060.00611.13
5.5.60.0030.00311.17
5.5.50.0000.00910.64
5.5.40.0050.00311.13
5.5.30.0060.00611.06
5.5.20.0060.00311.15
5.5.10.0000.00711.11
5.5.00.0020.00211.13
5.4.450.0190.02815.12
5.4.440.0350.03315.09
5.4.430.0150.02515.11
5.4.420.0170.02514.99
5.4.410.0090.02614.91
5.4.400.0110.02514.64
5.4.390.0070.03114.66
5.4.380.0080.03114.62
5.4.370.0190.02914.82
5.4.360.0150.02814.63
5.4.350.0190.02714.70
5.4.340.0180.02314.76
5.4.330.0100.00310.89
5.4.320.0050.02611.54
5.4.310.0060.02411.68
5.4.300.0020.02711.83
5.4.290.0040.02311.72
5.4.280.0050.02011.67
5.4.270.0050.02011.42
5.4.260.0060.02011.65
5.4.250.0070.02111.42
5.4.240.0020.02811.62
5.4.230.0060.02111.55
5.4.220.0040.02311.69
5.4.210.0050.02211.59
5.4.200.0060.02011.74
5.4.190.0050.02111.57
5.4.180.0030.02411.61
5.4.170.0030.02111.61
5.4.160.0050.02311.60
5.4.150.0080.01811.49
5.4.140.0040.02311.37
5.4.130.0060.02511.43
5.4.120.0060.01911.37
5.4.110.0070.01911.43
5.4.100.0040.02111.54
5.4.90.0090.02511.35
5.4.80.0050.02311.38
5.4.70.0060.02411.25
5.4.60.0050.02211.40
5.4.50.0060.02211.33
5.4.40.0040.02211.40
5.4.30.0020.02311.35
5.4.20.0040.02211.39
5.4.10.0030.02011.37
5.4.00.0080.02711.19
5.3.290.0050.02111.69
5.3.280.0050.02111.48
5.3.270.0030.02611.52
5.3.260.0040.02311.62
5.3.250.0050.02311.57
5.3.240.0050.02011.58
5.3.230.0060.02211.62
5.3.220.0100.02611.46
5.3.210.0040.03011.52
5.3.200.0050.02711.52
5.3.190.0070.02411.54
5.3.180.0040.02611.64
5.3.170.0060.02811.59
5.3.160.0090.02211.46
5.3.150.0060.02211.62
5.3.140.0050.02111.46
5.3.130.0040.02411.58
5.3.120.0060.02211.59
5.3.110.0030.02511.59
5.3.100.0040.02211.24
5.3.90.0090.02411.34
5.3.80.0090.02211.11
5.3.70.0050.02011.21
5.3.60.0050.02111.15
5.3.50.0020.02411.09
5.3.40.0040.02111.19
5.3.30.0050.01811.20
5.3.20.0040.02111.08
5.3.10.0070.01910.98
5.3.00.0030.02410.95
5.2.170.0040.0189.57
5.2.160.0040.0169.57
5.2.150.0020.0219.57
5.2.140.0060.0179.57
5.2.130.0030.0209.55
5.2.120.0040.0209.55
5.2.110.0020.0189.55
5.2.100.0020.0209.55
5.2.90.0060.0219.55
5.2.80.0060.0199.55
5.2.70.0020.0239.55
5.2.60.0040.0179.53
5.2.50.0060.0179.51
5.2.40.0050.0159.50
5.2.30.0040.0179.49
5.2.20.0050.0149.48
5.2.10.0080.0169.44
5.2.00.0020.0249.36
5.1.60.0040.0159.01
5.1.50.0030.0149.01
5.1.40.0020.0159.00
5.1.30.0040.0149.17
5.1.20.0060.0139.19
5.1.10.0050.0199.04
5.1.00.0020.0209.04
5.0.50.0020.0148.28
5.0.40.0040.0118.21
5.0.30.0030.0178.12
5.0.20.0020.0128.11
5.0.10.0030.0118.10
5.0.00.0030.0188.09
4.4.90.0040.0077.37
4.4.80.0020.0097.36
4.4.70.0020.0097.36
4.4.60.0050.0087.36
4.4.50.0040.0087.37
4.4.40.0020.0157.33
4.4.30.0020.0097.36
4.4.20.0030.0107.40
4.4.10.0020.0097.40
4.4.00.0010.0167.36
4.3.110.0030.0077.31
4.3.100.0010.0107.31
4.3.90.0040.0077.30
4.3.80.0040.0157.27
4.3.70.0020.0117.29
4.3.60.0020.0137.29
4.3.50.0040.0087.29
4.3.40.0010.0157.25
4.3.30.0010.0106.62
4.3.20.0050.0076.61
4.3.10.0030.0116.59
4.3.00.0020.01112.49

preferences:
44.55 ms | 401 KiB | 5 Q