3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static $a_static1 = "1"; public static $a_static2 = "2"; } var_dump(Foo::$a_static1);

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.0070.01016.38
8.3.50.0070.01321.92
8.3.40.0070.00718.81
8.3.30.0040.01118.46
8.3.20.0040.00420.04
8.3.10.0070.00023.52
8.3.00.0070.00319.26
8.2.180.0110.01116.50
8.2.170.0130.00722.96
8.2.160.0110.00422.08
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0080.00017.63
8.2.110.0070.00320.52
8.2.100.0040.00818.03
8.2.90.0080.00019.22
8.2.80.0080.00017.97
8.2.70.0030.00517.75
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0040.00419.26
8.2.30.0000.00720.62
8.2.20.0000.00717.61
8.2.10.0000.00718.04
8.2.00.0070.00018.09
8.1.280.0120.00325.92
8.1.270.0060.00323.88
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0060.00320.97
8.1.230.0040.00817.65
8.1.220.0090.00017.74
8.1.210.0000.00818.77
8.1.200.0070.00317.00
8.1.190.0080.00016.99
8.1.180.0070.00018.10
8.1.170.0000.00719.01
8.1.160.0080.00021.99
8.1.150.0000.00718.66
8.1.140.0000.00819.35
8.1.130.0030.00317.57
8.1.120.0070.00017.36
8.1.110.0030.00317.33
8.1.100.0000.00717.35
8.1.90.0030.00317.29
8.1.80.0050.00217.22
8.1.70.0000.00717.34
8.1.60.0000.00817.44
8.1.50.0000.00817.39
8.1.40.0050.00317.33
8.1.30.0040.00417.53
8.1.20.0000.00717.41
8.1.10.0030.00617.32
8.1.00.0040.00417.26
8.0.300.0070.00018.77
8.0.290.0050.00216.63
8.0.280.0000.00718.41
8.0.270.0000.00717.04
8.0.260.0000.00717.08
8.0.250.0080.00016.83
8.0.240.0000.00816.82
8.0.230.0030.00316.86
8.0.220.0000.00716.73
8.0.210.0000.00716.75
8.0.200.0030.00316.88
8.0.190.0040.00416.82
8.0.180.0000.00716.81
8.0.170.0000.00716.72
8.0.160.0050.00316.84
8.0.150.0070.00016.66
8.0.140.0030.00316.77
8.0.130.0060.00013.21
8.0.120.0000.00816.56
8.0.110.0050.00216.60
8.0.100.0050.00316.84
8.0.90.0020.00516.63
8.0.80.0110.00416.76
8.0.70.0000.00716.77
8.0.60.0000.00716.64
8.0.50.0040.00416.75
8.0.30.0070.01216.97
8.0.20.0060.01217.40
8.0.10.0000.00816.76
8.0.00.0040.01516.76
7.4.330.0000.00615.08
7.4.320.0000.00616.27
7.4.300.0030.00616.34
7.4.290.0000.00716.37
7.4.280.0000.00716.46
7.4.270.0060.00016.50
7.4.260.0000.00716.46
7.4.250.0050.00316.32
7.4.240.0020.00516.38
7.4.230.0030.00316.45
7.4.220.0060.01416.53
7.4.210.0080.01016.42
7.4.200.0040.00416.56
7.4.160.0130.00316.55
7.4.150.0170.00017.40
7.4.140.0100.01217.86
7.4.130.0100.00716.47
7.4.120.0090.01016.31
7.4.110.0000.01716.62
7.4.100.0170.00716.36
7.4.90.0110.00616.32
7.4.80.0110.00619.39
7.4.70.0060.01016.21
7.4.60.0090.00816.58
7.4.50.0040.00416.23
7.4.40.0090.00616.39
7.4.30.0060.01216.42
7.4.00.0090.00615.08
7.3.330.0050.00013.20
7.3.320.0000.00513.09
7.3.310.0040.00416.12
7.3.300.0000.00716.09
7.3.290.0030.00316.22
7.3.280.0040.01216.22
7.3.270.0070.01017.40
7.3.260.0090.00916.46
7.3.250.0090.00916.30
7.3.240.0100.00716.32
7.3.230.0070.01016.42
7.3.210.0080.00816.41
7.3.200.0120.00916.43
7.3.190.0100.00316.39
7.3.180.0090.00616.19
7.3.170.0000.02316.27
7.3.160.0030.01416.35
7.3.120.0090.00614.63
7.3.110.0100.00314.65
7.3.100.0110.00414.53
7.3.90.0030.00614.82
7.3.80.0040.00414.99
7.3.70.0000.01214.66
7.3.60.0040.00714.61
7.3.50.0040.01114.68
7.3.40.0000.01414.41
7.3.30.0070.00314.81
7.3.20.0070.01016.62
7.3.10.0030.01016.58
7.3.00.0070.00416.31
7.2.330.0040.01416.65
7.2.320.0100.00716.47
7.2.310.0030.01316.56
7.2.300.0080.01216.61
7.2.290.0090.01216.39
7.2.240.0060.00314.99
7.2.230.0040.01114.92
7.2.220.0060.00914.88
7.2.210.0070.00714.59
7.2.200.0060.00314.57
7.2.190.0070.00714.75
7.2.180.0000.01214.86
7.2.170.0060.00314.71
7.2.160.0040.01414.83
7.2.150.0030.01016.92
7.2.140.0100.00616.94
7.2.130.0030.01016.86
7.2.120.0030.01316.70
7.2.110.0070.00316.48
7.2.100.0120.00316.64
7.2.90.0090.00616.91
7.2.80.0110.00416.44
7.2.70.0060.00616.51
7.2.60.0100.00716.54
7.2.50.0070.00416.58
7.2.40.0140.00016.96
7.2.30.0030.01416.66
7.2.20.0060.00616.76
7.2.10.0070.01016.96
7.2.00.0090.01117.96
7.1.330.0030.01015.83
7.1.320.0000.01215.84
7.1.310.0030.00915.35
7.1.300.0030.00715.47
7.1.290.0070.00715.59
7.1.280.0100.00315.66
7.1.270.0110.00415.58
7.1.260.0000.01115.88
7.1.250.0070.00715.63
7.1.100.0000.01018.15
7.1.70.0030.01317.10
7.1.60.0190.00019.43
7.1.50.0100.01016.61
7.1.00.0000.07322.36
7.0.200.0320.00714.45
7.0.60.0030.07319.96
7.0.50.0030.04017.83
7.0.40.0070.04020.18
7.0.30.0030.04020.24
7.0.20.0170.04320.20
7.0.10.0100.08320.30
7.0.00.0030.05720.23
5.6.280.0000.05020.80
5.6.210.0030.04020.44
5.6.200.0030.05718.12
5.6.190.0070.04320.48
5.6.180.0500.07320.61
5.6.170.0170.04720.51
5.6.160.0030.04020.57
5.6.150.0000.05318.19
5.6.140.0100.04318.21
5.6.130.0030.08718.22
5.6.120.0130.07721.03
5.6.110.0070.03720.97
5.6.100.0100.07320.95
5.6.90.0100.06020.88
5.6.80.0130.07020.50
5.5.350.0230.06320.42
5.5.340.0100.08017.95
5.5.330.0130.05720.25
5.5.320.0200.06320.32
5.5.310.0270.07720.30
5.5.300.0100.07017.95
5.5.290.0030.04718.04
5.5.280.0070.07020.85
5.5.270.0130.08320.72
5.5.260.0100.08020.89
5.5.250.0070.07320.46
5.5.240.0100.07020.34
5.4.450.0330.07319.59
5.4.440.0230.08019.58
5.4.430.0070.07019.43
5.4.420.0330.06319.47
5.4.410.0200.05319.43
5.4.400.0300.05319.34
5.4.390.0300.07018.83
5.4.380.0270.07019.30
5.4.370.0130.07019.23
5.4.360.0130.07719.31
5.4.350.0170.08018.95
5.4.340.0930.06719.15
5.4.320.0870.07718.97
5.4.310.0930.05719.01
5.4.300.0900.07319.23
5.4.290.0600.06719.12
5.4.280.0430.05719.30
5.4.270.0270.06019.22
5.4.260.0630.07018.83
5.4.250.1030.06719.25
5.4.240.1100.05018.84
5.4.230.0770.07718.83
5.4.220.0630.06319.23
5.4.210.0600.07319.11
5.4.200.0930.05319.33
5.4.190.0730.06319.22
5.4.180.0730.07319.22
5.4.170.0770.05318.93
5.4.160.0700.05019.04
5.4.150.0730.05719.20
5.4.140.0770.05316.29
5.4.130.0830.06316.34
5.4.120.0970.05716.50
5.4.110.0900.07016.63
5.4.100.0700.04716.59
5.4.90.0970.06016.28
5.4.80.0370.06016.60
5.4.70.0400.06716.59
5.4.60.0100.06016.66
5.4.50.0330.04716.25
5.4.40.0200.07316.43
5.4.30.0200.05316.39
5.4.20.0200.07016.40
5.4.10.0300.04716.48
5.4.00.0370.05015.95

preferences:
31.36 ms | 401 KiB | 5 Q