3v4l.org

run code in 300+ PHP versions simultaneously
<?php // This is stored in the file: $storedhash = hash("sha256", "salt" + "password"); // Logging in: $password = "passworld"; if (hash("sha256", "salt" + $password) === $storedhash) { echo "Successfully entered password"; } else { echo "Nofie."; }

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.70.0080.00818.55
8.3.60.0090.00616.75
8.3.50.0100.01021.19
8.3.40.0070.00718.84
8.3.30.0080.00618.62
8.3.20.0040.00420.34
8.3.10.0040.00423.61
8.3.00.0050.00518.05
8.2.190.0100.01018.66
8.2.180.0090.00616.71
8.2.170.0070.00722.96
8.2.160.0000.01320.38
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00317.50
8.2.110.0070.00321.91
8.2.100.0080.00319.64
8.2.90.0000.00818.97
8.2.80.0060.00317.97
8.2.70.0000.00917.63
8.2.60.0040.00417.80
8.2.50.0050.00318.07
8.2.40.0030.00619.25
8.2.30.0080.00018.11
8.2.20.0060.00317.68
8.2.10.0040.00417.98
8.2.00.0040.00418.02
8.1.280.0100.00725.92
8.1.270.0080.00022.07
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0050.00522.52
8.1.230.0000.01217.48
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0000.00817.10
8.1.180.0000.00918.10
8.1.170.0000.00818.57
8.1.160.0040.00421.87
8.1.150.0070.00018.82
8.1.140.0050.00317.37
8.1.130.0030.00517.58
8.1.120.0040.00417.36
8.1.110.0000.00717.38
8.1.100.0030.00517.30
8.1.90.0000.00717.32
8.1.80.0040.00417.23
8.1.70.0040.00417.33
8.1.60.0040.00417.47
8.1.50.0040.00417.33
8.1.40.0040.00417.44
8.1.30.0030.00617.61
8.1.20.0070.00017.52
8.1.10.0000.00817.58
8.1.00.0040.00417.46
8.0.300.0080.00018.77
8.0.290.0050.00316.63
8.0.280.0000.00718.37
8.0.270.0030.00517.23
8.0.260.0000.00817.20
8.0.250.0000.00716.80
8.0.240.0000.00816.96
8.0.230.0030.00316.86
8.0.220.0000.00716.85
8.0.210.0000.00716.84
8.0.200.0040.00416.96
8.0.190.0040.00416.89
8.0.180.0040.00416.94
8.0.170.0030.00516.83
8.0.160.0070.00016.85
8.0.150.0040.00416.80
8.0.140.0000.00716.91
8.0.130.0000.00613.33
8.0.120.0000.00716.71
8.0.110.0000.00916.82
8.0.100.0000.00716.98
8.0.90.0000.00716.78
8.0.80.0100.00916.84
8.0.70.0040.00416.71
8.0.60.0070.00016.78
8.0.50.0040.00416.73
8.0.30.0080.01317.05
8.0.20.0150.00517.40
8.0.10.0000.00716.84
8.0.00.0100.00716.60
7.4.330.0030.00315.20
7.4.320.0000.00616.50
7.4.300.0040.00416.55
7.4.290.0040.00416.51
7.4.280.0080.00016.61
7.4.270.0000.00716.64
7.4.260.0070.00016.58
7.4.250.0040.00416.37
7.4.240.0070.00016.53
7.4.230.0000.00716.57
7.4.220.0100.00716.39
7.4.210.0080.00816.60
7.4.200.0030.00316.54
7.4.160.0160.00616.32
7.4.150.0110.00717.40
7.4.140.0160.00617.86
7.4.130.0080.00916.58
7.4.120.0110.00616.70
7.4.110.0140.00316.35
7.4.100.0130.01016.77
7.4.90.0070.01016.49
7.4.80.0030.01319.39
7.4.70.0100.00816.51
7.4.60.0040.01216.46
7.4.50.0000.00416.55
7.4.40.0130.00316.39
7.4.30.0080.01216.42
7.4.10.0070.01416.56
7.4.00.0010.01715.86
7.3.330.0000.00513.10
7.3.320.0000.00513.09
7.3.310.0070.00016.18
7.3.300.0060.00016.32
7.3.290.0030.00316.32
7.3.280.0120.00716.33
7.3.270.0110.00717.40
7.3.260.0090.00916.32
7.3.250.0110.01116.25
7.3.240.0000.01616.31
7.3.230.0080.00816.39
7.3.210.0090.00716.23
7.3.200.0130.00316.40
7.3.190.0100.00616.45
7.3.180.0120.00416.55
7.3.170.0080.01416.51
7.3.160.0030.01516.14
7.3.130.0090.01216.23
7.3.120.0160.00316.46
7.3.110.0160.00016.18
7.3.100.0070.01016.30
7.3.90.0040.01516.28
7.3.80.0070.00716.29
7.3.70.0040.01116.31
7.3.60.0070.00716.26
7.3.50.0080.00416.20
7.3.40.0030.01316.27
7.3.30.0070.01416.32
7.3.20.0000.01117.81
7.3.10.0060.00917.20
7.3.00.0030.01217.33
7.2.330.0110.00716.46
7.2.320.0060.01216.73
7.2.310.0080.00816.38
7.2.300.0120.00416.73
7.2.290.0030.01516.64
7.2.260.0100.00316.39
7.2.250.0110.01116.20
7.2.240.0030.01316.29
7.2.230.0070.01016.50
7.2.220.0070.00716.54
7.2.210.0060.00616.58
7.2.200.0070.01016.57
7.2.190.0100.00716.52
7.2.180.0120.00016.32
7.2.170.0030.01016.30
7.2.160.0030.01016.48
7.2.150.0040.01118.23
7.2.140.0070.00718.25
7.2.130.0080.00917.43
7.2.120.0030.01017.41
7.2.110.0080.00817.49
7.2.100.0110.00217.52
7.2.90.0080.00917.58
7.2.80.0080.00817.20
7.2.70.0080.00617.37
7.2.60.0110.00217.32
7.2.50.0080.00617.60
7.2.40.0080.00717.49
7.2.30.0110.00517.67
7.2.20.0030.01417.69
7.2.10.0040.01117.49
7.2.00.0060.00818.10
7.1.330.0000.01017.47
7.1.320.0060.00617.30
7.1.310.0090.00617.45
7.1.300.0030.01017.40
7.1.290.0070.00717.26
7.1.280.0030.01017.22
7.1.270.0100.00317.15
7.1.260.0040.01117.36
7.1.250.0050.00516.60
7.1.240.0050.00517.18
7.1.230.0070.00317.11
7.1.220.0110.00717.26
7.1.210.0060.00317.21
7.1.200.0060.00916.55
7.1.190.0030.00917.23
7.1.180.0030.01517.31
7.1.170.0060.00917.18
7.1.160.0120.00317.24
7.1.150.0070.00717.22
7.1.140.0040.01217.33
7.1.130.0060.00617.20
7.1.120.0070.01017.30
7.1.110.0120.00017.23
7.1.100.0050.00817.73
7.1.90.0060.00617.31
7.1.80.0030.00917.31
7.1.70.0040.00717.03
7.1.60.0100.00618.30
7.1.50.0100.01017.06
7.1.40.0070.01017.32
7.1.30.0040.00917.13
7.1.20.0110.00717.41
7.1.10.0000.01317.26
7.1.00.0060.04119.81
7.0.330.0000.01216.83
7.0.320.0100.00017.04
7.0.310.0070.00416.73
7.0.300.0000.01417.00
7.0.290.0000.01216.97
7.0.280.0060.01116.80
7.0.270.0060.00616.82
7.0.260.0060.00616.96
7.0.250.0070.00316.91
7.0.240.0030.00816.90
7.0.230.0030.00616.93
7.0.220.0050.00516.96
7.0.210.0030.00616.88
7.0.200.0120.01115.75
7.0.190.0070.01016.95
7.0.180.0030.01016.73
7.0.170.0090.00616.99
7.0.160.0000.01217.10
7.0.150.0080.00816.89
7.0.140.0060.00616.87
7.0.130.0080.00816.96
7.0.120.0070.00716.86
7.0.110.0070.00716.79
7.0.100.0040.00816.91
7.0.90.0090.00316.88
7.0.80.0060.00616.97
7.0.70.0000.01316.95
7.0.60.0100.03718.42
7.0.50.0080.03517.23
7.0.40.0050.04217.65
7.0.30.0200.02517.45
7.0.20.0130.02717.45
7.0.10.0100.03017.50
7.0.00.0120.02017.50
5.6.400.0030.00915.98
5.6.390.0000.01315.80
5.6.380.0030.00615.91
5.6.370.0030.00915.82
5.6.360.0070.01115.50
5.6.350.0000.01415.50
5.6.340.0060.01015.75
5.6.330.0100.00715.70
5.6.320.0090.00015.87
5.6.310.0060.01215.88
5.6.300.0040.01115.89
5.6.290.0090.00415.63
5.6.280.0030.03018.25
5.6.270.0030.01015.89
5.6.260.0060.00315.61
5.6.250.0080.00815.61
5.6.240.0060.00615.74
5.6.230.0060.00615.83
5.6.220.0090.00615.63
5.6.210.0060.04418.18
5.6.200.0090.02716.94
5.6.190.0070.02918.18
5.6.180.0150.03318.14
5.6.170.0130.02818.20
5.6.160.0030.02818.05
5.6.150.0110.03016.76
5.6.140.0050.04416.96
5.6.130.0140.04016.91
5.6.120.0070.04818.36
5.6.110.0030.04218.28
5.6.100.0120.03218.27
5.6.90.0050.04918.54
5.6.80.0080.03217.97
5.6.70.1780.02417.91
5.6.60.0110.00715.70
5.6.50.0100.00715.64
5.6.40.0000.01515.68
5.6.30.0070.00715.65
5.6.20.0100.00615.57
5.6.10.0060.00615.63
5.6.00.0000.01315.66
5.5.380.0110.00815.75
5.5.370.0040.01815.99
5.5.360.0080.00815.68
5.5.350.0090.04618.07
5.5.340.0130.04316.97
5.5.330.0070.04117.89
5.5.320.0250.03117.90
5.5.310.0150.03817.95
5.5.300.0100.02716.91
5.5.290.0070.02716.77
5.5.280.0110.04618.38
5.5.270.0060.04418.24
5.5.260.0100.04718.24
5.5.250.0090.03418.17
5.5.240.1160.03117.98
5.5.230.0080.01615.85
5.5.220.0090.01415.72
5.5.210.0080.01415.66
5.5.200.0000.02215.74
5.5.190.0080.01515.63
5.5.180.0000.02115.70
5.5.170.0120.00315.61
5.5.160.0060.00815.90
5.5.150.0080.00615.85
5.5.140.0100.00715.53
5.5.130.0130.01015.86
5.5.120.0000.01815.53
5.5.110.0140.00715.66
5.5.100.0130.00515.38
5.5.90.0040.01415.29
5.5.80.0060.00915.75
5.5.70.0030.01215.65
5.5.60.0030.01215.30
5.5.50.0070.00715.36
5.5.40.0070.01015.48
5.5.30.0070.01015.29
5.5.20.0090.00315.47
5.5.10.0030.01315.45
5.5.00.0030.00915.37
5.4.450.0330.03316.04
5.4.440.0370.04015.81
5.4.430.0370.03115.93
5.4.420.0370.02915.94
5.4.410.0420.03215.94
5.4.400.0410.03115.83
5.4.390.0460.03515.93
5.4.380.0430.03515.75
5.4.370.0370.03215.77
5.4.360.0350.02915.80
5.4.350.0490.02915.82
5.4.340.0330.03215.64
5.4.330.0070.00412.48
5.4.320.0370.02715.64
5.4.310.0370.03415.88
5.4.300.0380.02815.69
5.4.290.0360.02715.76
5.4.280.0450.02315.82
5.4.270.0410.02915.70
5.4.260.0440.02515.83
5.4.250.0400.02915.74
5.4.240.0430.02715.61
5.4.230.0400.02815.79
5.4.220.0410.03015.78
5.4.210.0420.02515.87
5.4.200.0400.03015.85
5.4.190.0350.03015.83
5.4.180.0380.03015.90
5.4.170.0360.03315.64
5.4.160.0400.02815.83
5.4.150.0460.02515.81
5.4.140.0370.02814.35
5.4.130.0370.02614.39
5.4.120.0350.02914.31
5.4.110.0320.03814.35
5.4.100.0450.02814.42
5.4.90.0480.02814.40
5.4.80.0350.02614.41
5.4.70.0070.02214.40
5.4.60.0190.02014.23
5.4.50.0060.04014.30
5.4.40.0080.03014.46
5.4.30.0020.04214.27
5.4.20.0170.02414.30
5.4.10.0070.00712.46
5.4.00.0040.00412.53

preferences:
50.74 ms | 401 KiB | 5 Q