3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test{ public $n; function __construct($num) { $this->n = 3 * $num; var_dump($this); } } $t = new Test(4);

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.01018.43
8.3.50.0110.00921.13
8.3.40.0070.00718.69
8.3.30.0090.00618.68
8.3.20.0050.00220.21
8.3.10.0040.00421.94
8.3.00.0040.00420.21
8.2.180.0090.00918.16
8.2.170.0070.00722.96
8.2.160.0140.00019.33
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00317.38
8.2.110.0030.00622.31
8.2.100.0120.00017.75
8.2.90.0050.00319.01
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0040.00818.04
8.2.50.0050.00318.07
8.2.40.0000.00719.52
8.2.30.0060.00320.61
8.2.20.0040.00417.56
8.2.10.0040.00418.13
8.2.00.0030.00718.09
8.1.280.0070.00725.92
8.1.270.0040.00423.87
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0000.01022.50
8.1.230.0080.00417.42
8.1.220.0050.00317.74
8.1.210.0000.00918.77
8.1.200.0050.00517.36
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0050.00318.41
8.1.160.0040.00422.00
8.1.150.0040.00418.82
8.1.140.0060.00317.38
8.1.130.0000.00717.64
8.1.120.0000.00717.39
8.1.110.0040.00417.46
8.1.100.0000.00717.30
8.1.90.0070.00017.38
8.1.80.0000.00717.38
8.1.70.0030.00517.41
8.1.60.0000.00717.41
8.1.50.0000.00817.53
8.1.40.0030.00617.56
8.1.30.0040.00417.57
8.1.20.0000.00717.57
8.1.10.0000.00817.55
8.1.00.0000.00717.48
8.0.300.0000.01118.77
8.0.290.0000.00716.63
8.0.280.0000.00818.45
8.0.270.0030.00317.26
8.0.260.0040.00417.26
8.0.250.0070.00016.94
8.0.240.0030.00316.90
8.0.230.0070.00016.79
8.0.220.0000.00716.82
8.0.210.0040.00416.88
8.0.200.0030.00316.78
8.0.190.0090.00016.78
8.0.180.0080.00316.81
8.0.170.0080.00016.73
8.0.160.0000.00716.86
8.0.150.0030.00316.86
8.0.140.0070.00016.68
8.0.130.0000.00513.26
8.0.120.0040.00416.70
8.0.110.0040.00416.77
8.0.100.0040.00416.89
8.0.90.0030.00516.84
8.0.80.0130.00616.85
8.0.70.0020.00516.61
8.0.60.0070.00016.95
8.0.50.0040.00416.68
8.0.30.0110.00717.04
8.0.20.0080.01117.40
8.0.10.0040.00416.82
8.0.00.0090.00916.71
7.4.330.0000.00515.08
7.4.320.0030.00316.53
7.4.300.0060.00016.66
7.4.290.0060.00316.40
7.4.280.0030.00516.60
7.4.270.0000.00816.42
7.4.260.0070.00016.49
7.4.250.0040.00416.47
7.4.240.0000.00716.44
7.4.230.0030.00316.50
7.4.220.0030.02216.54
7.4.210.0100.00616.45
7.4.200.0030.00316.62
7.4.160.0090.00616.43
7.4.150.0100.00717.40
7.4.140.0110.00817.86
7.4.130.0060.01116.53
7.4.120.0060.01116.48
7.4.110.0120.01216.62
7.4.100.0140.01016.20
7.4.90.0070.01116.48
7.4.80.0110.00619.39
7.4.70.0100.00616.51
7.4.60.0060.01016.50
7.4.50.0060.00316.52
7.4.40.0070.01016.47
7.4.30.0090.00916.47
7.4.00.0120.00314.89
7.3.330.0050.00013.31
7.3.320.0030.00313.23
7.3.310.0030.00316.30
7.3.300.0000.00716.30
7.3.290.0080.00716.29
7.3.280.0090.01016.26
7.3.270.0140.00317.40
7.3.260.0060.01216.36
7.3.250.0120.00616.35
7.3.240.0190.00316.59
7.3.230.0140.00316.39
7.3.210.0060.01016.55
7.3.200.0040.01516.54
7.3.190.0170.00016.62
7.3.180.0030.01216.68
7.3.170.0070.01416.46
7.3.160.0100.01016.35
7.2.330.0150.00316.64
7.2.320.0030.01416.71
7.2.310.0030.01316.66
7.2.300.0000.02116.66
7.2.290.0120.00616.41
7.2.60.0100.00716.89
7.2.00.0030.00819.51
7.1.200.0070.00715.77
7.1.100.0030.01017.69
7.1.70.0000.00817.19
7.1.60.0080.01219.11
7.1.50.0030.01716.95
7.1.00.0100.07022.31
7.0.200.0000.00816.86
7.0.60.0030.04319.96
7.0.50.0170.07717.95
7.0.40.0070.04020.09
7.0.30.0230.04320.23
7.0.20.0200.03720.03
7.0.10.0200.07720.12
7.0.00.0130.08020.25
5.6.280.0030.06321.07
5.6.210.0100.06320.61
5.6.200.0000.04318.18
5.6.190.0030.04320.39
5.6.180.0300.03720.54
5.6.170.0300.04320.57
5.6.160.0030.08020.48
5.6.150.0070.07318.23
5.6.140.0000.05018.27
5.6.130.0100.03718.27
5.6.120.0170.06020.89
5.6.110.0100.07021.13
5.6.100.0070.04721.11
5.6.90.0130.07720.97
5.6.80.0130.08020.50
5.5.350.0130.07720.45
5.5.340.0070.08317.97
5.5.330.0100.06320.42
5.5.320.3200.04320.34
5.5.310.0330.03720.27
5.5.300.0070.07718.07
5.5.290.0100.06017.96
5.5.280.0170.07320.72
5.5.270.0030.08720.86
5.5.260.0070.08720.76
5.5.250.0030.08320.78
5.5.240.0070.07320.35
5.4.450.0870.07019.55
5.4.440.0870.06719.62
5.4.430.0830.06319.53
5.4.420.0600.06719.18
5.4.410.0300.04319.27
5.4.400.0800.06019.08
5.4.390.0700.06319.11
5.4.380.0870.04319.23
5.4.370.0770.05719.06
5.4.360.0170.05719.23
5.4.350.0530.07319.21
5.4.340.0770.06719.10
5.4.320.0670.06319.01
5.4.310.0400.06019.07
5.4.300.0300.05318.93
5.4.290.0630.06319.20
5.4.280.1170.06719.30
5.4.270.1100.05719.25
5.4.260.1000.07319.10
5.4.250.1000.06319.25
5.4.240.1070.07319.22
5.4.230.1000.08319.24
5.4.220.1030.08019.00
5.4.210.1000.07019.05
5.4.200.0900.07719.18
5.4.190.0830.06719.24
5.4.180.0830.06019.08
5.4.170.0870.06019.22
5.4.160.0930.06019.21
5.4.150.1130.06318.84
5.4.140.0900.06016.43
5.4.130.0800.06316.38
5.4.120.0870.06316.30
5.4.110.0830.07316.48
5.4.100.1170.06016.28
5.4.90.0730.05316.20
5.4.80.0730.08016.59
5.4.70.0300.02716.20
5.4.60.0030.04716.25
5.4.50.0070.04016.38
5.4.40.0200.06716.63
5.4.30.0230.04316.25
5.4.20.0270.05716.32

preferences:
61.19 ms | 401 KiB | 5 Q