3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { const FOO = array(1,2,3); public function bar() { //unset(self::FOO[0]); } }

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.0000.01518.30
8.3.50.0130.00416.00
8.3.40.0110.00418.39
8.3.30.0040.01118.50
8.3.20.0000.00720.07
8.3.10.0040.00421.75
8.3.00.0040.00419.10
8.2.180.0110.00718.04
8.2.170.0150.00022.96
8.2.160.0110.00719.24
8.2.150.0050.00224.18
8.2.140.0000.00724.66
8.2.130.0000.00822.26
8.2.120.0040.00426.35
8.2.110.0030.00720.93
8.2.100.0060.00617.79
8.2.90.0080.00018.03
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0000.00717.80
8.2.50.0000.00818.10
8.2.40.0030.00620.68
8.2.30.0040.00419.02
8.2.20.0080.00017.94
8.2.10.0040.00418.21
8.2.00.0040.00418.00
8.1.280.0150.00025.92
8.1.270.0040.00423.97
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.80
8.1.230.0040.00822.73
8.1.220.0050.00317.74
8.1.210.0040.00420.06
8.1.200.0030.00617.10
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0000.00818.67
8.1.150.0000.00720.07
8.1.140.0040.00419.43
8.1.130.0000.00818.86
8.1.120.0070.00017.17
8.1.110.0080.00017.29
8.1.100.0040.00417.28
8.1.90.0030.00517.35
8.1.80.0030.00417.36
8.1.70.0000.00717.36
8.1.60.0040.00417.43
8.1.50.0040.00417.44
8.1.40.0060.00317.41
8.1.30.0000.00717.53
8.1.20.0070.00017.53
8.1.10.0000.00717.28
8.1.00.0000.00717.20
8.0.300.0070.00020.08
8.0.290.0000.00716.61
8.0.280.0080.00018.31
8.0.270.0000.00717.14
8.0.260.0000.00618.99
8.0.250.0000.00716.81
8.0.240.0050.00316.71
8.0.230.0050.00316.73
8.0.220.0040.00416.63
8.0.210.0040.00416.78
8.0.200.0030.00316.84
8.0.190.0040.00416.86
8.0.180.0050.00216.70
8.0.170.0060.00316.66
8.0.160.0040.00416.66
8.0.150.0000.00716.53
8.0.140.0000.00816.62
8.0.130.0000.00713.23
8.0.120.0000.00716.70
8.0.110.0040.00416.68
8.0.100.0030.00316.64
8.0.90.0050.00216.74
8.0.80.0070.00716.76
8.0.70.0040.00416.64
8.0.60.0000.00716.66
8.0.50.0000.00716.71
8.0.30.0090.01117.04
8.0.20.0130.00817.40
8.0.10.0030.00316.96
8.0.00.0080.01016.74
7.4.330.0000.00515.55
7.4.320.0030.00316.46
7.4.300.0030.00316.47
7.4.290.0030.00316.48
7.4.280.0030.00616.50
7.4.270.0070.00016.45
7.4.260.0030.00316.43
7.4.250.0040.00416.34
7.4.240.0000.00816.46
7.4.230.0030.00316.53
7.4.220.0120.00616.47
7.4.210.0050.00816.46
7.4.200.0040.00416.49
7.4.160.0110.00416.28
7.4.150.0100.00717.40
7.4.140.0130.00717.86
7.4.130.0120.01216.30
7.4.120.0100.01116.37
7.4.110.0130.00916.46
7.4.100.0110.00816.41
7.4.90.0060.01116.33
7.4.80.0070.01019.39
7.4.70.0070.01016.25
7.4.60.0100.00616.39
7.4.50.0030.00716.22
7.4.40.0110.00516.08
7.4.30.0090.00816.30
7.4.00.0070.01014.96
7.3.330.0000.00613.10
7.3.320.0000.00513.16
7.3.310.0040.00416.20
7.3.300.0040.00416.10
7.3.290.0030.00316.21
7.3.280.0110.00916.16
7.3.270.0060.01017.40
7.3.260.0090.01216.31
7.3.240.0090.00816.26
7.3.230.0080.00816.38
7.3.210.0060.01216.07
7.3.200.0080.00816.10
7.3.190.0190.00416.20
7.3.180.0060.01016.42
7.3.170.0080.00816.35
7.3.160.0100.00616.17
7.3.10.0060.00916.54
7.3.00.0070.00416.38
7.2.330.0090.00616.25
7.2.320.0100.01016.44
7.2.310.0130.00316.20
7.2.300.0060.01616.51
7.2.290.0050.01116.41
7.2.130.0080.00816.61
7.2.120.0060.00916.70
7.2.110.0110.00316.76
7.2.100.0070.00316.51
7.2.90.0090.00916.59
7.2.80.0090.00616.85
7.2.70.0030.01316.50
7.2.60.0030.01216.69
7.2.50.0070.00716.45
7.2.40.0060.00916.92
7.2.30.0030.01016.85
7.2.20.0060.01016.51
7.2.10.0060.01016.83
7.2.00.0110.00317.89
7.1.250.0030.00615.62
7.1.200.0060.00915.58
7.1.70.0070.00017.01
7.1.60.0100.00317.13
7.1.50.0070.01016.98
7.1.40.0200.00734.36
7.1.30.0170.02034.33
7.1.20.0200.01034.32
7.1.10.0030.01016.23
7.1.00.0070.00716.30
7.0.200.0070.01016.82
7.0.180.0000.01315.65
7.0.170.0000.01316.07
7.0.160.0030.01015.83
7.0.150.0030.01015.92
7.0.140.0030.00715.96
7.0.130.0000.01016.11
7.0.120.0000.01716.21
7.0.110.0000.01316.20
7.0.100.0030.01015.98
7.0.90.0030.01016.01
7.0.80.0070.00716.00
7.0.70.0030.00716.02
7.0.60.0030.01015.70
7.0.50.0000.01016.24
7.0.40.0000.01316.25
7.0.30.0000.01316.25
7.0.20.0030.01016.07
7.0.10.0070.00716.07
7.0.00.0070.00716.16

preferences:
66.42 ms | 401 KiB | 5 Q