3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mhash(MHASH_SHA256, 'foo'));

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.4.20.0200.00023.62
8.4.10.0100.00619.74
8.3.150.0130.00620.45
8.3.140.0080.00016.48
8.3.130.0040.00418.50
8.3.120.0090.00018.54
8.3.110.0100.00020.94
8.3.100.0030.00524.06
8.3.90.0080.00026.77
8.3.80.0060.00317.97
8.3.70.0150.00618.15
8.3.60.0090.00616.62
8.3.50.0120.00621.21
8.3.40.0040.01118.70
8.3.30.0000.01418.67
8.3.20.0000.00720.34
8.3.10.0050.00320.54
8.3.00.0070.00723.66
8.2.260.0150.00318.56
8.2.250.0050.00216.91
8.2.240.0070.01118.90
8.2.230.0030.00522.58
8.2.220.0140.00737.54
8.2.210.0090.00026.77
8.2.200.0100.00016.50
8.2.190.0130.00716.58
8.2.180.0110.00416.75
8.2.170.0140.00022.96
8.2.160.0140.00019.15
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0000.00821.00
8.2.120.0000.00726.35
8.2.110.0000.00922.26
8.2.100.0110.00017.84
8.2.90.0030.00919.09
8.2.80.0030.00617.97
8.2.70.0030.00717.50
8.2.60.0000.00817.92
8.2.50.0070.00018.10
8.2.40.0000.00720.42
8.2.30.0040.00419.05
8.2.20.0040.00417.86
8.2.10.0000.00717.98
8.2.00.0050.00317.69
8.1.310.0140.00318.47
8.1.300.0000.00820.06
8.1.290.0060.00330.84
8.1.280.0100.01025.92
8.1.270.0060.00323.84
8.1.260.0080.00028.09
8.1.250.0000.00828.09
8.1.240.0030.00620.45
8.1.230.0040.00820.71
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00917.00
8.1.190.0040.00417.23
8.1.180.0040.00420.15
8.1.170.0080.00018.50
8.1.160.0040.00422.14
8.1.150.0000.00718.84
8.1.140.0000.00719.29
8.1.130.0000.00717.57
8.1.120.0000.00817.38
8.1.110.0060.00317.34
8.1.100.0000.00717.33
8.1.90.0000.00717.26
8.1.80.0030.00317.31
8.1.70.0070.00017.36
8.1.60.0080.00017.35
8.1.50.0040.00417.43
8.1.40.0000.00817.34
8.1.30.0060.00317.56
8.1.20.0000.00817.59
8.1.10.0030.00517.55
8.1.00.0070.00017.30
8.0.300.0050.00218.77
8.0.290.0060.00316.58
8.0.280.0040.00418.38
8.0.270.0000.00717.23
8.0.260.0040.00417.29
8.0.250.0030.00316.95
8.0.240.0000.00716.93
8.0.230.0040.00416.81
8.0.220.0000.00716.89
8.0.210.0050.00316.80
8.0.200.0000.00716.95
8.0.190.0100.00016.95
8.0.180.0060.00316.88
8.0.170.0070.00016.84
8.0.160.0030.00316.82
8.0.150.0000.00716.78
8.0.140.0030.00316.81
8.0.130.0030.00313.33
8.0.120.0040.00416.86
8.0.110.0000.00716.67
8.0.100.0020.00616.82
8.0.90.0000.00716.95
8.0.80.0070.00816.88
8.0.70.0000.00916.84
8.0.60.0000.00716.90
8.0.50.0040.00416.92
8.0.30.0060.01516.97
8.0.20.0110.00817.40
8.0.10.0000.00816.75
8.0.00.0060.01216.57
7.4.330.0030.00315.08
7.4.320.0030.00316.49
7.4.300.0060.00016.54
7.4.290.0060.00016.41
7.4.280.0040.00416.41
7.4.270.0030.00316.55
7.4.260.0040.00416.41
7.4.250.0000.00716.30
7.4.240.0030.00516.54
7.4.230.0000.00716.43
7.4.220.0090.00916.39
7.4.210.0120.00316.39
7.4.200.0000.00816.42
7.4.160.0130.00316.32
7.4.150.0130.00317.40
7.4.140.0120.00917.86
7.4.130.0100.00816.54
7.4.120.0070.01016.44
7.4.110.0060.01016.44
7.4.100.0060.01016.57
7.4.90.0030.01516.64
7.4.80.0090.01519.39
7.4.70.0070.01116.40
7.4.60.0100.00616.50
7.4.50.0030.01416.55
7.4.40.0270.01016.46
7.4.30.0040.01216.46
7.4.00.0130.00314.98
7.3.330.0050.00013.09
7.3.320.0000.00513.18
7.3.310.0050.00316.27
7.3.300.0000.00716.16
7.3.290.0090.00616.24
7.3.280.0060.01116.24
7.3.270.0040.01817.40
7.3.260.0090.00916.41
7.3.250.0120.00516.31
7.3.240.0100.00716.57
7.3.230.0090.01216.39
7.3.210.0140.00316.45
7.3.200.0120.00416.26
7.3.190.0100.00616.30
7.3.180.0030.01516.28
7.3.170.0140.00316.22
7.3.160.0100.00716.29
7.3.00.0030.01016.54
7.2.330.0030.01616.33
7.2.320.0060.01116.41
7.2.310.0150.00816.59
7.2.300.0080.01616.52
7.2.290.0130.00316.35
7.2.130.0030.01016.93
7.2.120.0000.01416.84
7.2.110.0080.00416.79
7.2.100.0050.00516.86
7.2.90.0090.00616.89
7.2.80.0080.00816.79
7.2.70.0100.00716.94
7.2.60.0060.00916.80
7.2.50.0030.00916.83
7.2.40.0000.01516.53
7.2.30.0060.00616.61
7.2.20.0080.00316.81
7.2.10.0090.00316.81
7.2.00.0030.00918.05
7.1.250.0060.00915.76
7.1.240.0030.00715.25
7.1.230.0060.00615.25
7.1.220.0070.00715.45
7.1.210.0030.01015.70
7.1.200.0060.00615.46
7.1.190.0100.00315.66
7.1.180.0060.00915.55
7.1.170.0040.01115.41
7.1.160.0060.00615.55
7.1.150.0100.00315.71
7.1.140.0040.00715.66
7.1.130.0110.00015.73
7.1.120.0060.00615.70
7.1.110.0120.00315.76
7.1.100.0030.00816.72
7.1.90.0030.00715.52
7.1.80.0040.00715.62
7.1.70.0040.00516.18
7.1.60.0070.00416.35
7.1.50.0070.00916.09
7.1.40.0060.00615.43
7.1.30.0090.00315.63
7.1.20.0040.00715.29
7.1.10.0000.01015.59
7.1.00.0030.04218.95
7.0.330.0000.00915.12
7.0.320.0000.00915.27
7.0.310.0080.00614.95
7.0.300.0100.00315.15
7.0.290.0070.00314.99
7.0.280.0030.00515.27
7.0.270.0030.00615.28
7.0.260.0030.00814.90
7.0.250.0000.00915.29
7.0.240.0000.01215.39
7.0.230.0030.00715.13
7.0.220.0060.00615.29
7.0.210.0000.01115.14
7.0.200.0220.00814.85
7.0.190.0060.00615.38
7.0.180.0030.00715.27
7.0.170.0030.00915.21
7.0.160.0040.00415.33
7.0.150.0040.01115.11
7.0.140.0060.00314.94
7.0.130.0040.00715.25
7.0.120.0030.00715.29
7.0.110.0180.03017.79
7.0.100.0110.03517.72
7.0.90.0180.03317.81
7.0.80.0200.02817.73
7.0.70.0140.03417.69
7.0.60.0170.03217.79
7.0.50.0170.02917.61
7.0.40.0210.03316.79
7.0.30.0120.03516.70
7.0.20.0170.03116.79
7.0.10.0190.02616.81
7.0.00.0150.03016.70
5.6.380.0070.00714.16
5.6.370.0100.00313.75
5.6.360.0080.00314.02
5.6.350.0030.01014.16
5.6.340.0070.00713.81
5.6.330.0110.00414.29
5.6.320.0070.00414.29
5.6.310.0040.00814.01
5.6.300.0000.01014.44
5.6.290.0100.00314.12
5.6.280.0110.00314.09
5.6.270.0070.00414.19
5.6.260.0050.03317.31
5.6.250.0070.02917.36
5.6.240.0050.03217.45
5.6.230.0050.03317.44
5.6.220.0070.03217.65
5.6.210.0080.02817.45
5.6.200.0050.03217.68
5.6.190.0140.02317.57
5.6.180.0100.03017.46
5.6.170.0070.03017.50
5.6.160.0100.03017.51
5.6.150.0100.02817.43
5.6.140.0030.03517.52
5.6.130.0080.02817.44
5.6.120.0080.03117.34
5.6.110.0110.02817.60
5.6.100.0030.03717.38
5.6.90.0070.03217.56
5.6.80.0110.02316.98
5.6.70.0110.02917.23
5.6.60.0110.03017.14
5.6.50.0030.03217.04
5.6.40.0040.03217.16
5.6.30.0090.02717.11
5.6.20.0170.01917.03
5.6.10.0150.02817.27
5.6.00.0110.02617.09

preferences:
79.8 ms | 403 KiB | 5 Q