3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass{ private static $mystring = "My String"; public static function MyString() { echo self::mystring; } } MyClass::MyString();

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.0040.01116.49
8.3.50.0120.00618.01
8.3.40.0070.00718.93
8.3.30.0140.00018.71
8.3.20.0070.00020.04
8.3.10.0050.00321.78
8.3.00.0060.00323.33
8.2.180.0070.01418.41
8.2.170.0000.01422.96
8.2.160.0120.00620.35
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0030.00520.89
8.2.120.0040.00426.35
8.2.110.0030.00721.05
8.2.100.0080.00317.72
8.2.90.0050.00319.09
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0040.00817.93
8.2.50.0000.00918.07
8.2.40.0070.00420.40
8.2.30.0000.00820.67
8.2.20.0040.00417.64
8.2.10.0040.00418.05
8.2.00.0040.00418.04
8.1.280.0110.00625.92
8.1.270.0170.00022.07
8.1.260.0000.00728.09
8.1.250.0000.00728.09
8.1.240.0090.00323.72
8.1.230.0080.00420.96
8.1.220.0030.00617.78
8.1.210.0040.00418.77
8.1.200.0090.00017.24
8.1.190.0030.00617.36
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0000.00820.68
8.1.150.0040.00418.86
8.1.140.0040.00419.54
8.1.130.0000.00717.54
8.1.120.0040.00417.44
8.1.110.0040.00417.41
8.1.100.0040.00417.34
8.1.90.0020.00517.34
8.1.80.0050.00217.26
8.1.70.0000.00717.29
8.1.60.0060.00317.47
8.1.50.0030.00617.49
8.1.40.0030.00517.37
8.1.30.0040.00417.42
8.1.20.0040.00417.59
8.1.10.0000.00817.52
8.1.00.0040.00417.34
8.0.300.0050.00318.77
8.0.290.0090.00016.75
8.0.280.0070.00018.35
8.0.270.0000.00717.24
8.0.260.0000.00617.17
8.0.250.0030.00317.05
8.0.240.0000.00717.09
8.0.230.0000.00716.91
8.0.220.0040.00416.97
8.0.210.0030.00616.93
8.0.200.0040.00417.04
8.0.190.0000.00816.95
8.0.180.0070.00017.01
8.0.170.0020.00516.86
8.0.160.0050.00316.88
8.0.150.0070.00016.94
8.0.140.0000.00716.92
8.0.130.0000.00613.33
8.0.120.0080.00016.81
8.0.110.0040.00416.92
8.0.100.0000.00717.05
8.0.90.0040.00316.95
8.0.80.0070.01116.98
8.0.70.0070.00016.96
8.0.60.0050.00216.89
8.0.50.0040.00416.82
8.0.30.0080.01117.04
8.0.20.0160.01717.40
8.0.10.0040.00417.03
8.0.00.0090.01016.83
7.4.330.0000.00516.89
7.4.320.0060.00016.48
7.4.300.0000.00616.42
7.4.290.0000.00716.54
7.4.280.0000.00816.51
7.4.270.0030.00316.45
7.4.260.0070.00316.52
7.4.250.0000.00716.46
7.4.240.0020.00616.40
7.4.230.0070.00016.41
7.4.220.0060.00916.37
7.4.210.0080.00816.50
7.4.200.0040.00416.23
7.4.160.0070.01016.32
7.4.150.0170.00017.40
7.4.140.0150.00617.86
7.4.130.0100.01016.55
7.4.120.0090.00816.42
7.4.110.0020.01516.46
7.4.100.0030.01416.59
7.4.90.0100.00716.62
7.4.80.0110.00819.39
7.4.70.0080.00816.57
7.4.60.0110.00416.61
7.4.50.0070.00716.36
7.4.40.0120.00816.61
7.4.30.0140.00316.46
7.4.00.0120.00314.70
7.3.330.0030.00313.12
7.3.320.0030.00313.35
7.3.310.0040.00416.21
7.3.300.0000.00716.31
7.3.290.0080.00716.33
7.3.280.0110.00616.33
7.3.270.0190.00617.40
7.3.260.0100.01316.55
7.3.250.0120.00716.51
7.3.240.0070.01216.41
7.3.230.0000.01716.39
7.3.210.0060.01616.36
7.3.200.0060.01316.26
7.3.190.0060.01216.33
7.3.180.0090.00616.57
7.3.170.0130.00316.41
7.3.160.0080.00816.33
7.2.330.0130.00716.72
7.2.320.0130.00316.63
7.2.310.0100.00716.74
7.2.300.0100.01316.64
7.2.290.0170.00016.35
7.2.60.0070.00816.81
7.2.00.0030.01419.48
7.1.200.0070.00715.47
7.1.100.0090.00617.87
7.1.70.0000.00717.00
7.1.60.0180.00719.52
7.1.50.0110.00716.80
7.1.00.0100.07022.36
7.0.200.0070.00716.75
7.0.60.0100.08319.84
7.0.50.0030.08317.88
7.0.40.0030.05320.13
7.0.30.0270.07720.16
7.0.20.0330.06320.15
7.0.10.0130.08720.19
7.0.00.0000.05020.09
5.6.280.0070.03021.10
5.6.210.0100.06320.73
5.6.200.0170.07718.22
5.6.190.0070.06320.67
5.6.180.0270.06720.41
5.6.170.0330.07020.55
5.6.160.0130.08320.46
5.6.150.0070.05018.28
5.6.140.0030.04718.17
5.6.130.0030.06318.23
5.6.120.0100.04321.04
5.6.110.0070.06721.07
5.6.100.0100.05320.97
5.6.90.0100.06020.93
5.6.80.0070.03720.41
5.5.350.0330.07720.44
5.5.340.0100.06317.99
5.5.330.0100.08020.13
5.5.320.0270.04020.34
5.5.310.0230.07020.48
5.5.300.0170.07017.99
5.5.290.0170.06318.09
5.5.280.0030.04020.90
5.5.270.0100.05320.79
5.5.260.0070.06020.71
5.5.250.0100.07720.58
5.5.240.0130.04320.06

preferences:
49.94 ms | 400 KiB | 5 Q