3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { static $a = 5; function f() { echo $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.38
8.3.50.0130.00521.15
8.3.40.0110.00718.41
8.3.30.0070.00718.51
8.3.20.0040.00420.02
8.3.10.0080.00021.86
8.3.00.0040.00421.85
8.2.180.0110.00718.04
8.2.170.0040.01122.96
8.2.160.0070.01020.13
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00020.69
8.2.120.0050.00526.35
8.2.110.0060.00319.25
8.2.100.0080.00417.91
8.2.90.0000.00718.97
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0040.00417.91
8.2.50.0000.00918.09
8.2.40.0040.00422.10
8.2.30.0000.00719.18
8.2.20.0040.00417.64
8.2.10.0060.00317.84
8.2.00.0040.00417.86
8.1.280.0110.00325.92
8.1.270.0070.00022.02
8.1.260.0100.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00622.47
8.1.230.0100.00317.42
8.1.220.0000.00917.74
8.1.210.0080.00018.77
8.1.200.0040.00417.11
8.1.190.0030.00517.10
8.1.180.0050.00318.10
8.1.170.0030.00618.46
8.1.160.0050.00320.68
8.1.150.0040.00420.45
8.1.140.0000.00919.41
8.1.130.0070.00017.61
8.1.120.0070.00017.34
8.1.110.0000.00817.36
8.1.100.0040.00417.36
8.1.90.0000.00717.33
8.1.80.0030.00317.31
8.1.70.0030.00317.33
8.1.60.0040.00417.46
8.1.50.0030.00617.30
8.1.40.0030.00717.39
8.1.30.0000.00817.48
8.1.20.0040.00417.29
8.1.10.0030.00517.27
8.1.00.0040.00417.32
8.0.300.0040.00418.77
8.0.290.0000.00716.58
8.0.280.0000.00618.32
8.0.270.0070.00017.04
8.0.260.0030.00317.12
8.0.250.0030.00316.81
8.0.240.0050.00316.72
8.0.230.0030.00316.82
8.0.220.0040.00416.78
8.0.210.0000.00716.73
8.0.200.0030.00316.86
8.0.190.0060.00316.73
8.0.180.0070.00316.73
8.0.170.0070.00016.76
8.0.160.0040.00416.81
8.0.150.0040.00316.62
8.0.140.0040.00416.71
8.0.130.0060.00013.15
8.0.120.0000.00816.73
8.0.110.0000.00716.66
8.0.100.0000.00716.72
8.0.90.0040.00416.72
8.0.80.0100.00416.80
8.0.70.0000.00716.64
8.0.60.0040.00416.71
8.0.50.0000.00816.73
8.0.30.0100.00816.85
8.0.20.0100.00717.40
8.0.10.0030.00316.69
8.0.00.0100.01016.57
7.4.330.0000.00516.83
7.4.320.0030.00316.38
7.4.300.0030.00616.26
7.4.290.0070.00016.27
7.4.280.0070.00016.40
7.4.270.0060.00316.38
7.4.260.0000.00816.33
7.4.250.0050.00316.44
7.4.240.0030.00316.46
7.4.230.0070.00016.26
7.4.220.0100.01016.49
7.4.210.0090.00716.53
7.4.200.0030.00316.25
7.4.160.0060.00916.39
7.4.150.0120.00617.40
7.4.140.0090.00917.86
7.4.130.0090.01116.32
7.4.120.0100.01116.32
7.4.110.0090.00816.35
7.4.100.0040.01316.45
7.4.90.0100.00716.46
7.4.80.0150.00319.39
7.4.70.0070.01316.23
7.4.60.0060.01016.30
7.4.50.0050.00916.29
7.4.40.0060.01216.10
7.4.30.0090.00916.29
7.4.00.0090.00814.86
7.3.330.0050.00012.96
7.3.320.0070.00013.04
7.3.310.0040.00416.21
7.3.300.0000.00715.95
7.3.290.0070.00016.08
7.3.280.0130.00316.16
7.3.270.0120.00617.40
7.3.260.0080.01516.46
7.3.250.0110.01216.31
7.3.240.0050.01216.42
7.3.230.0100.00716.39
7.3.210.0120.00616.45
7.3.200.0060.01219.39
7.3.190.0120.00416.22
7.3.180.0100.00716.42
7.3.170.0030.01216.16
7.3.160.0180.00316.19
7.3.120.0030.01614.78
7.3.110.0070.00714.78
7.3.100.0030.00614.50
7.3.90.0090.00914.43
7.3.80.0030.01014.82
7.3.70.0060.00914.71
7.3.60.0070.00714.43
7.3.50.0000.01114.41
7.3.40.0060.00314.65
7.3.30.0070.00714.80
7.3.20.0090.00616.37
7.3.10.0060.00616.58
7.3.00.0070.00316.52
7.2.330.0120.00816.22
7.2.320.0110.00716.50
7.2.310.0170.00016.25
7.2.300.0120.00916.41
7.2.290.0030.01716.24
7.2.250.0030.01414.74
7.2.240.0040.01414.79
7.2.230.0000.01314.99
7.2.220.0030.01014.90
7.2.210.0040.01214.75
7.2.200.0070.00714.97
7.2.190.0060.01214.67
7.2.180.0120.00314.80
7.2.170.0000.01314.75
7.2.00.0090.00619.16
7.1.330.0060.00915.59
7.1.320.0080.00315.56
7.1.310.0030.00915.71
7.1.300.0070.00715.50
7.1.290.0030.01015.36
7.1.280.0000.01315.61
7.1.270.0070.00315.34
7.1.260.0100.00315.57
7.1.100.0190.00717.42
7.1.70.0000.01017.04
7.1.60.0040.01919.40
7.1.50.0100.01416.89
7.1.00.0070.07322.40
7.0.200.0030.00716.73
7.0.60.0130.08721.73
7.0.50.0070.07317.87
7.0.40.0100.08020.02
7.0.30.0200.07720.20
7.0.20.0300.06320.20
7.0.10.0030.06020.10
7.0.00.0030.04020.23
5.6.280.0030.04321.07
5.6.210.0230.07020.45
5.6.200.0070.08718.29
5.6.190.0130.07020.47
5.6.180.0270.08720.49
5.6.170.0230.04320.43
5.6.160.0100.07020.52
5.6.150.0130.06718.18
5.6.140.0000.08718.22
5.6.130.0000.04318.11
5.6.120.0000.04321.02
5.6.110.0100.03320.95
5.6.100.0070.07021.04
5.6.90.0130.07720.96
5.6.80.0070.05320.53
5.5.350.0230.07320.47
5.5.340.0170.06017.95
5.5.330.0130.08020.29
5.5.320.0300.05020.34
5.5.310.0130.04320.32
5.5.300.0100.07718.01
5.5.290.0070.08017.94
5.5.280.0070.05320.65
5.5.270.0070.07720.89
5.5.260.0130.08020.88
5.5.250.0100.08320.69
5.5.240.0170.08320.16

preferences:
134.37 ms | 401 KiB | 5 Q