3v4l.org

run code in 300+ PHP versions simultaneously
<?php class dupa { public $a = 'j'; public function _construct() { echo '+_construct'.$this->$a; } 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.0180.00418.18
8.3.50.0060.01021.95
8.3.40.0030.01018.77
8.3.30.0030.01018.92
8.3.20.0070.00020.16
8.3.10.0050.00321.91
8.3.00.0060.00320.51
8.2.180.0140.00716.38
8.2.170.0120.00322.96
8.2.160.0070.00720.89
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0180.00026.16
8.2.120.0040.00417.38
8.2.110.0000.01020.91
8.2.100.0110.00017.66
8.2.90.0030.00619.16
8.2.80.0050.00317.97
8.2.70.0000.00817.63
8.2.60.0030.00517.93
8.2.50.0030.00518.10
8.2.40.0050.00518.22
8.2.30.0030.00518.10
8.2.20.0050.00317.63
8.2.10.0080.00019.41
8.2.00.0030.00517.48
8.1.280.0160.00625.92
8.1.270.0000.00822.18
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0070.00323.98
8.1.230.0040.00817.52
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.09
8.1.190.0030.00517.22
8.1.180.0050.00318.10
8.1.170.0000.00818.52
8.1.160.0040.00421.85
8.1.150.0020.00518.57
8.1.140.0000.00717.32
8.1.130.0070.00017.82
8.1.120.0000.00717.33
8.1.110.0040.00417.34
8.1.100.0030.00317.34
8.1.90.0000.00717.38
8.1.80.0070.00017.43
8.1.70.0030.00317.40
8.1.60.0000.00817.34
8.1.50.0040.00417.43
8.1.40.0000.00717.44
8.1.30.0050.00317.46
8.1.20.0030.00617.48
8.1.10.0040.00417.39
8.1.00.0030.00617.43
8.0.300.0000.00718.77
8.0.290.0030.00516.75
8.0.280.0000.00718.46
8.0.270.0070.00017.20
8.0.260.0000.00716.63
8.0.250.0030.00316.77
8.0.240.0000.00716.85
8.0.230.0080.00016.82
8.0.220.0030.00316.82
8.0.210.0040.00416.75
8.0.200.0030.00316.96
8.0.190.0040.00316.79
8.0.180.0000.00716.75
8.0.170.0000.00816.80
8.0.160.0000.00816.89
8.0.150.0000.00716.79
8.0.140.0060.00316.85
8.0.130.0000.00513.26
8.0.120.0000.00816.80
8.0.110.0040.00416.85
8.0.100.0040.00416.80
8.0.90.0080.00016.72
8.0.80.0070.01016.88
8.0.70.0080.00016.71
8.0.60.0040.00416.70
8.0.50.0080.00016.75
8.0.30.0100.01117.08
8.0.20.0120.00717.40
8.0.10.0000.00816.93
8.0.00.0090.00816.63
7.4.330.0050.00015.00
7.4.320.0030.00316.55
7.4.300.0040.00416.50
7.4.290.0000.00716.49
7.4.280.0080.00016.50
7.4.270.0070.00016.58
7.4.260.0000.00716.52
7.4.250.0050.00216.39
7.4.240.0050.00216.49
7.4.230.0000.00716.42
7.4.220.0090.00916.64
7.4.210.0080.00916.58
7.4.200.0030.00316.48
7.4.190.0040.00416.46
7.4.160.0060.00916.59
7.4.150.0110.00617.40
7.4.140.0100.00817.86
7.4.130.0070.01316.50
7.4.120.0120.00916.51
7.4.110.0070.01016.60
7.4.100.0090.00916.73
7.4.90.0110.01216.44
7.4.80.0100.00719.39
7.4.70.0030.01516.40
7.4.60.0120.00316.48
7.4.50.0030.00516.16
7.4.40.0110.00822.77
7.4.30.0030.01316.55
7.4.00.0120.00414.83
7.3.330.0050.00013.16
7.3.320.0000.00513.36
7.3.310.0040.00316.32
7.3.300.0030.00316.34
7.3.290.0040.01216.39
7.3.280.0080.00916.27
7.3.270.0100.01317.40
7.3.260.0100.01016.41
7.3.250.0130.00616.39
7.3.240.0090.00916.28
7.3.230.0110.00916.39
7.3.210.0090.00916.44
7.3.200.0070.01419.39
7.3.190.0060.01116.29
7.3.180.0090.00916.58
7.3.170.0110.00916.34
7.3.160.0210.00016.26
7.3.120.0030.00914.74
7.3.10.0040.00716.79
7.3.00.0030.00616.51
7.2.330.0100.01316.71
7.2.320.0030.02016.35
7.2.310.0030.01516.59
7.2.300.0130.00916.76
7.2.290.0130.00316.50
7.2.130.0090.00616.89
7.2.120.0080.00416.86
7.2.110.0070.00416.77
7.2.100.0050.00516.79
7.2.90.0060.00316.80
7.2.80.0030.00716.69
7.2.70.0080.00316.59
7.2.60.0060.00516.78
7.2.50.0030.00616.95
7.2.40.0060.00916.84
7.2.30.0070.00716.98
7.2.20.0040.00416.66
7.2.10.0070.00316.78
7.2.00.0030.00918.12
7.1.250.0030.01015.39
7.1.200.0000.00815.61
7.1.100.0110.00417.77
7.1.70.0040.00416.91
7.1.60.0140.01019.82
7.1.50.0030.01916.77
7.1.00.0070.06722.32
7.0.200.0070.01016.50
7.0.140.0030.07022.15
7.0.60.0130.08319.91
7.0.50.0100.05017.85
7.0.40.0070.09020.20
7.0.30.0230.03720.28
7.0.20.0200.08020.26
7.0.10.0070.08720.16
7.0.00.0100.08720.33
5.6.280.0000.05021.11
5.6.210.0030.08720.56
5.6.200.0130.08018.15
5.6.190.0230.07020.47
5.6.180.4070.04720.55
5.6.170.0230.03720.59
5.6.160.0130.07320.68
5.6.150.0030.06018.21
5.6.140.0100.03318.27
5.6.130.0100.07718.11
5.6.120.0030.04021.13
5.6.110.0070.07721.09
5.6.100.0170.07720.89
5.6.90.0000.09021.04
5.6.80.0030.04020.54
5.6.70.4000.04020.50
5.5.350.0030.08320.50
5.5.340.0130.07718.02
5.5.330.0100.04320.41
5.5.320.0270.08020.31
5.5.310.0200.06720.24
5.5.300.0030.08317.98
5.5.290.0130.04318.08
5.5.280.0100.08020.98
5.5.270.0070.08720.80
5.5.260.0070.07720.90
5.5.250.0170.06320.46
5.5.240.0170.04020.05
5.4.450.0400.05319.41
5.4.440.0500.04319.55
5.4.430.0500.04719.40
5.4.420.0830.03319.45
5.4.410.0000.07319.02
5.4.400.0100.06318.51
5.4.390.0100.05018.51
5.4.380.0200.04718.83
5.4.370.0200.04718.58
5.4.360.0130.05318.77
5.4.350.0270.04718.47
5.4.340.0170.05018.41
5.4.320.0040.04012.50
5.4.310.0080.04612.50
5.4.300.0080.03712.50
5.4.290.0040.03912.50
5.4.280.0070.03512.39
5.4.270.0040.03812.37
5.4.260.0080.03512.37
5.4.250.0090.03712.37
5.4.240.0040.04312.36
5.4.230.0060.03812.36
5.4.220.0060.03912.36
5.4.210.0040.03612.36
5.4.200.0040.04012.36
5.4.190.0040.03812.36
5.4.180.0050.03712.36
5.4.170.0070.04512.37
5.4.160.0080.03612.36
5.4.150.0040.03712.35
5.4.140.0070.04412.04
5.4.130.0110.03512.02
5.4.120.0080.03311.98
5.4.110.0060.03811.98
5.4.100.0090.03711.98
5.4.90.0050.04011.98
5.4.80.0040.04311.98
5.4.70.0110.03111.97
5.4.60.0080.03611.98
5.4.50.0030.03911.98
5.4.40.0050.04211.97
5.4.30.0060.03911.96
5.4.20.0020.04211.96
5.4.10.0070.04111.96
5.4.00.0050.04111.45
5.3.290.0080.04612.80
5.3.280.0050.04412.71
5.3.270.0070.03912.72
5.3.260.0090.03612.72
5.3.250.0060.04612.72
5.3.240.0030.04012.72
5.3.230.0050.03812.71
5.3.220.0050.03912.68
5.3.210.0050.03912.68
5.3.200.0040.03812.68
5.3.190.0070.03612.68
5.3.180.0110.03112.68
5.3.170.0100.03312.67
5.3.160.0070.03612.68
5.3.150.0030.04112.67
5.3.140.0050.03712.66
5.3.130.0050.04012.66
5.3.120.0040.04112.66
5.3.110.0080.03712.66
5.3.100.0080.03412.12
5.3.90.0080.03412.08
5.3.80.0040.03812.07
5.3.70.0090.03512.07
5.3.60.0060.05112.06
5.3.50.0080.03712.00
5.3.40.0080.03612.00
5.3.30.0060.03511.96
5.3.20.0080.03811.73
5.3.10.0030.03911.70
5.3.00.0070.03611.68
5.2.170.0040.0319.18
5.2.160.0030.0309.18
5.2.150.0030.0329.18
5.2.140.0090.0289.18
5.2.130.0030.0319.14
5.2.120.0040.0309.14
5.2.110.0030.0319.14
5.2.100.0040.0309.15
5.2.90.0050.0299.14
5.2.80.0040.0329.14
5.2.70.0030.0329.13
5.2.60.0040.0329.09
5.2.50.0060.0299.07
5.2.40.0050.0289.04
5.2.30.0020.0339.01
5.2.20.0010.0339.00
5.2.10.0050.0288.92
5.2.00.0050.0288.77
5.1.60.0050.0238.06
5.1.50.0040.0258.06
5.1.40.0020.0268.04
5.1.30.0040.0268.38
5.1.20.0050.0268.41
5.1.10.0050.0258.14
5.1.00.0050.0248.13
5.0.50.0040.0266.61
5.0.40.0020.0206.47
5.0.30.0030.0316.29
5.0.20.0040.0186.26
5.0.10.0030.0206.23
5.0.00.0020.0326.22
4.4.90.0020.0164.77
4.4.80.0040.0144.75
4.4.70.0010.0174.76
4.4.60.0020.0154.76
4.4.50.0000.0174.77
4.4.40.0040.0234.71
4.4.30.0020.0164.76
4.4.20.0040.0144.84
4.4.10.0030.0184.85
4.4.00.0020.0254.76
4.3.110.0020.0164.67
4.3.100.0040.0144.67
4.3.90.0040.0134.64
4.3.80.0020.0264.59
4.3.70.0020.0154.63
4.3.60.0010.0164.63
4.3.50.0010.0164.63
4.3.40.0020.0244.54
4.3.30.0030.0153.28
4.3.20.0030.0183.27
4.3.10.0030.0163.23
4.3.00.0000.01315.03

preferences:
55.27 ms | 400 KiB | 5 Q