3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; new class { public $a; public function a() { return $this->a; } };

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.0090.00616.50
8.3.50.0280.00721.93
8.3.40.0030.01218.59
8.3.30.0150.00018.60
8.3.20.0040.00420.33
8.3.10.0000.00823.66
8.3.00.0040.00419.26
8.2.180.0120.00316.38
8.2.170.0070.01322.96
8.2.160.0040.01520.27
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00817.63
8.2.120.0040.00426.35
8.2.110.0040.00420.47
8.2.100.0080.00317.80
8.2.90.0000.00819.08
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0060.00317.93
8.2.50.0040.00418.07
8.2.40.0040.00419.31
8.2.30.0070.00020.62
8.2.20.0030.00617.67
8.2.10.0040.00417.92
8.2.00.0040.00418.05
8.1.280.0180.00425.92
8.1.270.0000.00923.81
8.1.260.0070.00028.09
8.1.250.0000.00728.09
8.1.240.0030.00622.50
8.1.230.0060.00617.76
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0080.00017.23
8.1.180.0000.00718.10
8.1.170.0040.00418.84
8.1.160.0030.00322.00
8.1.150.0040.00418.97
8.1.140.0030.00517.44
8.1.130.0070.00017.74
8.1.120.0000.00917.45
8.1.110.0050.00317.43
8.1.100.0000.00817.52
8.1.90.0080.00017.37
8.1.80.0040.00417.34
8.1.70.0070.00017.35
8.1.60.0040.00417.46
8.1.50.0040.00417.57
8.1.40.0040.00417.51
8.1.30.0030.00717.64
8.1.20.0000.00817.61
8.1.10.0030.00617.51
8.1.00.0030.00617.47
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0030.00318.39
8.0.270.0000.00816.82
8.0.260.0030.00317.24
8.0.250.0000.00716.92
8.0.240.0030.00516.96
8.0.230.0070.00016.84
8.0.220.0000.00716.87
8.0.210.0000.00816.80
8.0.200.0000.00716.91
8.0.190.0030.00316.86
8.0.180.0030.00516.84
8.0.170.0040.00416.92
8.0.160.0020.00516.79
8.0.150.0030.00316.85
8.0.140.0030.00316.73
8.0.130.0030.00313.29
8.0.120.0040.00416.81
8.0.110.0040.00416.89
8.0.100.0000.00716.86
8.0.90.0040.00416.79
8.0.80.0000.01416.84
8.0.70.0000.00816.77
8.0.60.0000.00816.96
8.0.50.0050.00216.67
8.0.30.0090.01017.17
8.0.20.0100.01017.40
8.0.10.0000.00717.03
8.0.00.0090.01116.81
7.4.330.0020.00216.84
7.4.320.0050.00216.53
7.4.300.0030.00316.52
7.4.290.0000.00816.43
7.4.280.0000.00816.48
7.4.270.0000.00616.52
7.4.260.0030.00316.43
7.4.250.0030.00316.52
7.4.240.0030.00316.57
7.4.230.0000.00716.46
7.4.220.0090.00916.61
7.4.210.0120.00316.59
7.4.200.0030.00316.47
7.4.160.0130.00616.49
7.4.150.0080.00817.40
7.4.140.0140.00417.86
7.4.130.0090.01016.29
7.4.120.0100.01316.41
7.4.110.0060.01216.55
7.4.100.0030.01516.30
7.4.90.0070.01316.55
7.4.80.0070.01319.39
7.4.70.0100.01016.38
7.4.60.0080.00816.46
7.4.50.0110.00716.48
7.4.40.0030.01316.43
7.4.30.0100.00716.56
7.4.00.0060.01114.79
7.3.330.0050.00313.13
7.3.320.0040.00413.17
7.3.310.0000.00716.27
7.3.300.0070.00016.05
7.3.290.0080.00816.13
7.3.280.0050.01016.17
7.3.270.0100.01217.40
7.3.260.0090.00916.42
7.3.250.0110.00816.34
7.3.240.0060.01316.26
7.3.230.0100.00716.39
7.3.210.0070.01016.45
7.3.200.0040.01216.54
7.3.190.0120.01216.19
7.3.180.0100.00716.21
7.3.170.0070.01016.27
7.3.160.0040.01116.15
7.3.120.0070.00914.89
7.3.110.0050.01014.81
7.3.100.0080.00614.71
7.3.90.0070.00914.74
7.3.80.0120.00214.71
7.3.70.0070.00714.64
7.3.60.0050.01014.77
7.3.50.0040.00914.79
7.3.40.0030.01214.65
7.3.30.0060.00614.56
7.3.20.0070.00716.56
7.3.10.0060.00816.44
7.3.00.0050.00916.38
7.2.330.0030.01316.22
7.2.320.0090.00916.58
7.2.310.0060.01016.53
7.2.300.0130.00316.66
7.2.290.0100.00716.36
7.2.250.0130.00615.11
7.2.240.0070.00714.85
7.2.230.0080.00614.90
7.2.220.0070.00714.81
7.2.210.0040.01114.69
7.2.200.0030.00814.66
7.2.190.0090.00714.61
7.2.180.0080.00614.73
7.2.170.0030.00814.83
7.2.160.0040.00714.91
7.2.150.0060.00716.61
7.2.140.0070.00716.84
7.2.130.0100.00316.71
7.2.120.0000.01616.62
7.2.110.0060.00916.50
7.2.100.0030.00916.69
7.2.90.0120.00416.71
7.2.80.0100.00616.42
7.2.70.0100.00616.65
7.2.60.0090.00816.58
7.2.50.0060.00916.76
7.2.40.0090.00616.66
7.2.30.0070.01016.89
7.2.20.0060.00916.59
7.2.10.0060.00616.85
7.2.00.0050.01017.89
7.1.330.0050.00915.72
7.1.320.0100.00315.63
7.1.310.0070.00915.61
7.1.300.0090.00515.57
7.1.290.0030.01015.47
7.1.280.0080.00415.34
7.1.270.0020.01115.57
7.1.260.0080.00715.46
7.1.250.0060.01015.80
7.1.200.0000.01415.68
7.1.100.0030.00918.07
7.1.70.0030.01116.88
7.1.60.0100.01419.36
7.1.50.0070.01416.83
7.1.00.0070.07022.45
7.0.200.0000.00716.66
7.0.60.0170.06020.02
7.0.50.0100.08717.98
7.0.40.0100.03720.11
7.0.30.0400.05020.26
7.0.20.0400.07320.19
7.0.10.0000.06320.20
7.0.00.0100.07320.17
5.6.280.0000.03321.07
5.6.210.0030.05020.47
5.6.200.0070.07718.16
5.6.190.0070.05320.39
5.6.180.0370.03720.41
5.6.170.0270.07720.47
5.6.160.0070.03720.50
5.6.150.0000.04318.28
5.6.140.0070.06318.29
5.6.130.0200.04318.18
5.6.120.0100.04720.95
5.6.110.0130.08020.99
5.6.100.0170.07321.10
5.6.90.0070.07021.11
5.6.80.0000.04020.53
5.5.350.4400.03320.40
5.5.340.0200.07018.09
5.5.330.0070.04720.35
5.5.320.0000.07720.24
5.5.310.0130.04720.41
5.5.300.0070.08018.07
5.5.290.0130.06317.98
5.5.280.0100.05020.79
5.5.270.0030.06020.88
5.5.260.0070.04020.88
5.5.250.0100.03720.54
5.5.240.0270.06720.34

preferences:
57.84 ms | 401 KiB | 5 Q