3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Testi { public $temp; function __construct(string $testi){ $this->temp = $testi; } } $testiA = new Testi('A'); $testiB = new $testiA('B'); var_dump($testiA === $testiB);

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.0140.00016.48
8.3.50.0170.01021.07
8.3.40.0180.00418.64
8.3.30.0110.00318.58
8.3.20.0040.00420.20
8.3.10.0040.00421.72
8.3.00.0040.00423.65
8.2.180.0030.01618.54
8.2.170.0150.00022.96
8.2.160.0040.01820.22
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0070.00719.64
8.2.120.0040.00426.35
8.2.110.0000.01121.18
8.2.100.0090.00317.72
8.2.90.0040.00419.09
8.2.80.0000.00917.97
8.2.70.0000.00917.63
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0030.00622.36
8.2.30.0040.00420.49
8.2.20.0060.00317.60
8.2.10.0030.00518.04
8.2.00.0000.00718.04
8.1.280.0090.00625.92
8.1.270.0060.00323.96
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0050.00322.05
8.1.230.0080.00419.11
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0100.00017.23
8.1.180.0040.00418.10
8.1.170.0080.00018.66
8.1.160.0040.00420.76
8.1.150.0040.00418.85
8.1.140.0040.00419.50
8.1.130.0000.00717.67
8.1.120.0070.00017.36
8.1.110.0040.00417.27
8.1.100.0040.00417.43
8.1.90.0000.00717.36
8.1.80.0000.00717.37
8.1.70.0000.00817.29
8.1.60.0040.00417.55
8.1.50.0040.00417.55
8.1.40.0000.00817.48
8.1.30.0000.00817.63
8.1.20.0040.00417.55
8.1.10.0030.00617.51
8.1.00.0030.00617.45
8.0.300.0040.00418.77
8.0.290.0040.00416.58
8.0.280.0030.00318.38
8.0.270.0000.00717.11
8.0.260.0030.00317.09
8.0.250.0050.00216.79
8.0.240.0000.00616.90
8.0.230.0040.00416.89
8.0.220.0040.00416.83
8.0.210.0030.00316.77
8.0.200.0000.01016.94
8.0.190.0060.00316.95
8.0.180.0040.00416.77
8.0.170.0000.00716.87
8.0.160.0030.00316.79
8.0.150.0040.00416.63
8.0.140.0070.00416.79
8.0.130.0030.00313.24
8.0.120.0000.00716.68
8.0.110.0030.00516.75
8.0.100.0000.00716.89
8.0.90.0000.00716.63
8.0.80.0080.00816.82
8.0.70.0000.00716.73
8.0.60.0000.00816.68
8.0.50.0000.00716.88
8.0.30.0130.00617.10
8.0.20.0080.01217.40
8.0.10.0050.00316.87
8.0.00.0110.00916.66
7.4.330.0000.00516.89
7.4.320.0060.00016.47
7.4.300.0030.00316.40
7.4.290.0070.00016.54
7.4.280.0050.00516.50
7.4.270.0030.00316.57
7.4.260.0090.00016.50
7.4.250.0040.00416.60
7.4.240.0010.00616.56
7.4.230.0070.00016.57
7.4.220.0190.00616.45
7.4.210.0100.00316.60
7.4.200.0000.00716.52
7.4.160.0060.01116.50
7.4.150.0070.01117.40
7.4.140.0090.01317.86
7.4.130.0120.00716.49
7.4.120.0110.00916.43
7.4.110.0150.00316.55
7.4.100.0030.01316.56
7.4.90.0160.00016.49
7.4.80.0140.00819.39
7.4.70.0070.01016.54
7.4.60.0120.00416.49
7.4.50.0040.01116.68
7.4.40.0110.00516.33
7.4.30.0100.00716.52
7.4.00.0030.01214.95
7.3.330.0060.00013.16
7.3.320.0050.00013.13
7.3.310.0000.00716.34
7.3.300.0000.00716.15
7.3.290.0090.00816.27
7.3.280.0090.00616.30
7.3.270.0100.00717.40
7.3.260.0100.00616.16
7.3.250.0100.00816.19
7.3.240.0090.00816.37
7.3.230.0100.01016.56
7.3.210.0060.01016.44
7.3.200.0150.00719.39
7.3.190.0120.00616.29
7.3.180.0070.01416.39
7.3.170.0030.01316.54
7.3.160.0130.00316.54
7.2.330.0100.00716.69
7.2.320.0110.01416.53
7.2.310.0120.00616.61
7.2.300.0090.00916.59
7.2.290.0120.00616.55
7.2.60.0070.00716.82
7.2.00.0030.01319.12
7.1.200.0100.00315.70
7.1.100.0080.00417.62
7.1.70.0070.00017.03
7.1.60.0160.01019.20
7.1.50.0070.01316.92
7.1.00.0030.07722.41
7.0.200.0060.00316.68
7.0.60.0100.08021.77
7.0.50.0170.05017.90
7.0.40.0100.06719.96
7.0.30.0200.04320.09
7.0.20.0370.03720.09
7.0.10.0070.04020.10
7.0.00.0070.05320.07
5.6.280.0000.04721.13
5.6.210.0100.08320.70
5.6.200.0270.06318.25
5.6.190.0100.08020.50
5.6.180.0270.04020.77
5.6.170.0200.03720.48
5.6.160.0000.04320.54
5.6.150.0070.04718.12
5.6.140.0100.04318.14
5.6.130.0070.06318.18
5.6.120.0070.04321.05
5.6.110.0070.04721.01
5.6.100.0070.05020.96
5.6.90.0100.05020.99
5.6.80.0070.04720.41
5.5.350.0200.08020.34
5.5.340.0200.03017.95
5.5.330.0070.08720.35
5.5.320.0170.08020.27
5.5.310.0230.08020.34
5.5.300.0070.08318.04
5.5.290.0030.06317.94
5.5.280.0100.07320.87
5.5.270.0000.04720.77
5.5.260.0100.05720.68
5.5.250.0100.07720.55
5.5.240.0230.06720.18

preferences:
59.43 ms | 401 KiB | 5 Q