3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass{ private $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.0150.00016.50
8.3.50.0090.00917.93
8.3.40.0070.01018.87
8.3.30.0030.01018.81
8.3.20.0050.00220.09
8.3.10.0040.00421.64
8.3.00.0040.00423.52
8.2.180.0090.00916.75
8.2.170.0120.00322.96
8.2.160.0100.00720.43
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0060.00321.13
8.2.120.0040.00426.35
8.2.110.0060.00322.07
8.2.100.0060.00617.80
8.2.90.0040.00419.22
8.2.80.0030.00617.97
8.2.70.0040.00417.63
8.2.60.0000.01217.92
8.2.50.0050.00318.07
8.2.40.0000.01122.19
8.2.30.0030.00620.67
8.2.20.0000.00717.64
8.2.10.0040.00418.00
8.2.00.0040.00417.93
8.1.280.0070.01025.92
8.1.270.0000.00722.07
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00722.36
8.1.230.0070.00419.10
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.22
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0080.00020.59
8.1.150.0040.00418.81
8.1.140.0040.00419.54
8.1.130.0030.00317.53
8.1.120.0070.00017.34
8.1.110.0030.00617.38
8.1.100.0000.00817.29
8.1.90.0050.00317.28
8.1.80.0000.00717.32
8.1.70.0050.00317.27
8.1.60.0040.00417.51
8.1.50.0030.00617.44
8.1.40.0040.00417.34
8.1.30.0050.00317.48
8.1.20.0030.00517.57
8.1.10.0030.00617.54
8.1.00.0040.00417.41
8.0.300.0000.00818.77
8.0.290.0050.00316.63
8.0.280.0000.00718.32
8.0.270.0000.00717.21
8.0.260.0030.00317.16
8.0.250.0000.00816.92
8.0.240.0040.00416.91
8.0.230.0000.00716.91
8.0.220.0040.00416.84
8.0.210.0000.00716.91
8.0.200.0030.00316.87
8.0.190.0040.00316.96
8.0.180.0000.00717.02
8.0.170.0060.00316.94
8.0.160.0070.00017.02
8.0.150.0080.00016.87
8.0.140.0000.00916.85
8.0.130.0050.00013.34
8.0.120.0000.00716.95
8.0.110.0040.00416.95
8.0.100.0050.00217.00
8.0.90.0000.00716.98
8.0.80.0120.00316.98
8.0.70.0000.00716.76
8.0.60.0070.00016.98
8.0.50.0000.00716.79
8.0.30.0140.00416.97
8.0.20.0110.00817.40
8.0.10.0040.00417.06
8.0.00.0100.01016.86
7.4.330.0000.00616.83
7.4.320.0030.00316.53
7.4.300.0050.00216.46
7.4.290.0030.00516.56
7.4.280.0030.00616.52
7.4.270.0030.00316.45
7.4.260.0040.00416.52
7.4.250.0040.00416.53
7.4.240.0010.00616.46
7.4.230.0040.00416.37
7.4.220.0120.00316.45
7.4.210.0170.00016.47
7.4.200.0040.00416.46
7.4.160.0140.00316.61
7.4.150.0150.00317.40
7.4.140.0080.01317.86
7.4.130.0080.01016.67
7.4.120.0120.00516.61
7.4.110.0060.01516.78
7.4.100.0070.01116.63
7.4.90.0030.01416.64
7.4.80.0070.01019.39
7.4.70.0100.00616.48
7.4.60.0140.00316.60
7.4.50.0060.00916.70
7.4.40.0090.00916.48
7.4.30.0130.00716.41
7.4.00.0130.00315.10
7.3.330.0000.00513.21
7.3.320.0000.00513.19
7.3.310.0030.00316.31
7.3.300.0030.00316.29
7.3.290.0060.00816.34
7.3.280.0030.01416.32
7.3.270.0080.00817.40
7.3.260.0110.00716.27
7.3.250.0120.00716.32
7.3.240.0130.00316.41
7.3.230.0090.00916.42
7.3.210.0090.00916.25
7.3.200.0090.00916.34
7.3.190.0110.01116.47
7.3.180.0090.00616.58
7.3.170.0070.01016.34
7.3.160.0090.00616.54
7.2.330.0040.01516.57
7.2.320.0130.00316.64
7.2.310.0100.00716.60
7.2.300.0180.00716.73
7.2.290.0040.01216.50
7.2.60.0030.01316.65
7.2.00.0070.00719.48
7.1.200.0150.00315.48
7.1.100.0030.01317.71
7.1.70.0000.00817.11
7.1.60.0100.01619.52
7.1.50.0090.00616.80
7.1.00.0070.07322.54
7.0.200.0000.01016.74
7.0.60.0100.06720.03
7.0.50.0200.04317.86
7.0.40.0130.06320.26
7.0.30.0330.07020.19
7.0.20.0200.07720.24
7.0.10.0070.08320.34
7.0.00.0100.08020.13
5.6.280.0000.03320.78
5.6.210.0170.06320.60
5.6.200.0070.08718.19
5.6.190.0000.04720.61
5.6.180.0270.07720.57
5.6.170.0230.08020.56
5.6.160.0070.06320.71
5.6.150.0030.05718.17
5.6.140.0070.07018.19
5.6.130.0130.08018.27
5.6.120.0170.07321.12
5.6.110.0100.08321.14
5.6.100.0130.06321.01
5.6.90.0170.06021.11
5.6.80.0070.03320.39
5.5.350.0330.07020.52
5.5.340.0100.05017.98
5.5.330.0100.05720.21
5.5.320.0230.06020.36
5.5.310.0370.07720.26
5.5.300.0100.05717.95
5.5.290.0030.06718.08
5.5.280.0100.03720.68
5.5.270.0100.08020.88
5.5.260.0230.07720.87
5.5.250.0100.08320.63
5.5.240.0230.07320.23

preferences:
48.31 ms | 401 KiB | 5 Q