3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s=1; function password_md5_mess($pass) { $s=1 ; $split=(str_split(md5($pass),16)); md5($split[1]); //calculate MD5 on 2 (16 chars)) part of password return $s; } $password=password_md5_mess('12345'); echo $password; ?>

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.40.0080.00818.48
8.3.30.0080.00519.18
8.3.20.0140.00020.39
8.3.10.0070.00022.11
8.3.00.0050.00222.34
8.2.170.0210.00022.96
8.2.160.0110.00420.71
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0040.00419.23
8.2.110.0030.00622.23
8.2.100.0030.00919.48
8.2.90.0080.00019.21
8.2.80.0030.00519.77
8.2.70.0030.00517.63
8.2.60.0040.00418.05
8.2.50.0090.00018.07
8.2.40.0000.00818.34
8.2.30.0040.00417.99
8.2.20.0040.00417.63
8.2.10.0050.00317.64
8.2.00.0060.00317.73
8.1.270.0050.00322.24
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0040.00424.03
8.1.230.0070.00419.01
8.1.220.0080.00017.79
8.1.210.0080.00018.77
8.1.200.0080.00317.23
8.1.190.0080.00017.54
8.1.180.0040.00418.10
8.1.170.0000.00918.51
8.1.160.0040.00422.07
8.1.150.0040.00418.55
8.1.140.0000.00717.39
8.1.130.0000.00817.83
8.1.120.0040.00417.38
8.1.110.0050.00217.38
8.1.100.0030.00517.41
8.1.90.0030.00517.24
8.1.80.0080.00017.39
8.1.70.0070.00017.36
8.1.60.0050.00317.53
8.1.50.0030.00517.41
8.1.40.0000.00817.38
8.1.30.0070.00017.55
8.1.20.0060.00317.50
8.1.10.0050.00317.60
8.1.00.0000.00717.43
8.0.300.0070.00018.77
8.0.290.0030.00317.16
8.0.280.0080.00018.45
8.0.270.0030.00317.32
8.0.260.0080.00016.81
8.0.250.0040.00416.96
8.0.240.0000.00716.95
8.0.230.0030.00316.88
8.0.220.0000.00716.73
8.0.210.0000.00716.79
8.0.200.0000.00716.74
8.0.190.0040.00416.92
8.0.180.0080.00016.90
8.0.170.0030.00516.75
8.0.160.0040.00416.76
8.0.150.0000.00716.78
8.0.140.0070.00016.82
8.0.130.0030.00313.28
8.0.120.0080.00016.82
8.0.110.0050.00216.72
8.0.100.0070.00016.75
8.0.90.0040.00416.64
8.0.80.0030.01416.77
8.0.70.0040.00416.89
8.0.60.0040.00416.77
8.0.50.0000.00716.93
8.0.30.0140.00516.93
8.0.20.0170.00217.40
8.0.10.0030.00516.96
8.0.00.0080.01016.75
7.4.330.0000.00515.00
7.4.320.0070.00016.54
7.4.300.0000.00616.54
7.4.290.0000.00816.61
7.4.280.0000.00716.45
7.4.270.0000.00716.45
7.4.260.0030.00316.39
7.4.250.0050.00316.39
7.4.240.0000.00716.47
7.4.230.0030.00316.67
7.4.220.0140.00316.65
7.4.210.0060.00816.58
7.4.200.0030.00316.47
7.4.190.0030.00316.53
7.4.160.0080.00816.47
7.4.150.0100.00717.40
7.4.140.0090.01117.86
7.4.130.0100.00816.41
7.4.120.0080.00816.39
7.4.110.0120.00416.57
7.4.100.0100.00716.32
7.4.90.0030.01416.62
7.4.80.0100.00719.39
7.4.70.0120.00616.52
7.4.60.0090.00616.50
7.4.50.0000.00816.45
7.4.40.0030.01322.77
7.4.30.0110.00716.63
7.4.00.0070.00614.83
7.3.330.0000.00513.23
7.3.320.0030.00313.23
7.3.310.0000.00716.25
7.3.300.0030.00316.21
7.3.290.0060.00916.32
7.3.280.0080.00816.30
7.3.270.0180.00017.40
7.3.260.0030.02116.34
7.3.250.0140.00616.49
7.3.240.0100.01016.42
7.3.230.0000.02116.39
7.3.210.0090.00916.31
7.3.200.0030.01219.39
7.3.190.0170.00516.30
7.3.180.0060.00916.33
7.3.170.0120.00916.66
7.3.160.0040.01216.39
7.3.120.0070.00815.04
7.2.330.0100.00716.38
7.2.320.0120.00616.86
7.2.310.0040.01716.73
7.2.300.0070.01016.72
7.2.290.0070.01016.86
7.2.60.0110.00316.89
7.2.00.0000.01419.28
7.1.200.0090.00315.57
7.1.100.0000.00817.94
7.1.70.0000.00717.14
7.1.60.0120.00919.82
7.1.50.0100.01416.82
7.1.00.0030.07722.41
7.0.200.0100.00316.82
7.0.140.0070.07022.12
7.0.60.0100.08019.91
7.0.50.0030.08317.87
7.0.40.0100.08020.23
7.0.30.0130.04720.23
7.0.20.0330.08720.09
7.0.10.0300.09020.06
7.0.00.0100.06320.19
5.6.280.0000.07721.05
5.6.210.0030.05720.73
5.6.200.0070.08318.23
5.6.190.0030.07020.77
5.6.180.3170.04720.63
5.6.170.0200.04320.40
5.6.160.0070.08720.47
5.6.150.0070.03718.25
5.6.140.0070.08018.19
5.6.130.0030.04318.27
5.6.120.0030.08721.02
5.6.110.0030.08720.98
5.6.100.0100.05021.05
5.6.90.0170.08020.96
5.6.80.0100.07720.48
5.6.70.0400.06320.38
5.5.350.0070.03720.43
5.5.340.0030.05718.02
5.5.330.0070.08020.21
5.5.320.0270.08020.30
5.5.310.0230.07320.38
5.5.300.0200.06717.97
5.5.290.0000.07718.08
5.5.280.0130.07720.88
5.5.270.0130.05320.89
5.5.260.0130.08320.97
5.5.250.0030.04020.69
5.5.240.0200.06720.19
5.4.450.0500.06319.60
5.4.440.0670.04719.16
5.4.430.0830.06719.63
5.4.420.0070.06019.59
5.4.410.0370.06019.45
5.4.400.0070.07018.50
5.4.390.0170.06718.50
5.4.380.0270.05318.46
5.4.370.0200.05318.68
5.4.360.0330.04718.67
5.4.350.0330.05018.45
5.4.340.0200.05018.54
5.4.320.0030.03912.50
5.4.310.0090.03812.50
5.4.300.0050.04112.51
5.4.290.0040.04912.50
5.4.280.0080.04212.40
5.4.270.0100.07019.09
5.4.260.0230.06319.05
5.4.250.0170.06019.02
5.4.240.0100.05719.23
5.4.230.0130.05719.00
5.4.220.0070.08319.09
5.4.210.0130.05718.91
5.4.200.0070.06318.83
5.4.190.0030.06018.98
5.4.180.0170.05019.02
5.4.170.0100.07018.98
5.4.160.0270.05318.93
5.4.150.0130.05719.13
5.4.140.0170.06016.68
5.4.130.0170.04716.39
5.4.120.0170.06316.43
5.4.110.0230.06016.49
5.4.100.0030.06716.65
5.4.90.0070.05716.55
5.4.80.0100.05316.38
5.4.70.0070.05716.64
5.4.60.0130.06316.55
5.4.50.0130.06016.62
5.4.40.0230.06016.67
5.4.30.0170.05716.64
5.4.20.0130.07016.65
5.4.10.0030.06716.64
5.4.00.0030.08016.06
5.3.290.0090.04012.80
5.3.280.0130.05014.64
5.3.270.0170.05314.81
5.3.260.0070.06014.86
5.3.250.0230.06314.87
5.3.240.0070.07714.82
5.3.230.0070.07014.86
5.3.220.0100.07714.84
5.3.210.0100.06014.85
5.3.200.0170.06714.86
5.3.190.0070.06014.82
5.3.180.0100.07314.78
5.3.170.0100.06014.82
5.3.160.0130.05014.84
5.3.150.0170.06714.63
5.3.140.0200.06314.72
5.3.130.0130.08314.82
5.3.120.0130.06714.82
5.3.110.0030.06014.59
5.3.100.0130.04714.32
5.3.90.0070.07714.30
5.3.80.0100.05014.08
5.3.70.0070.06314.20
5.3.60.0200.04314.20
5.3.50.0130.04314.14
5.3.40.0100.07014.16
5.3.30.0070.05714.20
5.3.20.0100.05013.97
5.3.10.0100.07313.84
5.3.00.0130.04313.52
5.2.170.0130.03711.14
5.2.160.0030.05311.14
5.2.150.0030.05311.36
5.2.140.0070.04711.32
5.2.130.0130.03311.39
5.2.120.0300.02311.39
5.2.110.0130.04711.15
5.2.100.0070.05311.10
5.2.90.0100.03711.15
5.2.80.0100.03711.28
5.2.70.0070.04011.36
5.2.60.0130.04310.94
5.2.50.0130.04011.02
5.2.40.0170.03711.05
5.2.30.0030.05011.26
5.2.20.0170.04011.13
5.2.10.0000.05011.16
5.2.00.0130.05310.84
5.1.60.0100.03010.04
5.1.50.0130.0479.89
5.1.40.0130.03010.20
5.1.30.0070.04010.52
5.1.20.0100.03310.35
5.1.10.0100.04310.37
5.1.00.0100.03710.05
5.0.50.0070.0308.73
5.0.40.0030.0278.67
5.0.30.0070.0478.44
5.0.20.0000.0308.28
5.0.10.0030.0408.22
5.0.00.0070.0478.48
4.4.90.0030.0237.60
4.4.80.0070.0277.60
4.4.70.0070.0277.60
4.4.60.0030.0307.60
4.4.50.0000.0277.60
4.4.40.0070.0407.60
4.4.30.0070.0177.60
4.4.20.0030.0277.60
4.4.10.0070.0207.60
4.4.00.0030.0377.60
4.3.110.0100.0207.60
4.3.100.0070.0207.60
4.3.90.0000.0277.60
4.3.80.0070.0477.60
4.3.70.0070.0177.60
4.3.60.0030.0207.60
4.3.50.0030.0307.60
4.3.40.0030.0407.60
4.3.30.0000.0237.60
4.3.20.0030.0277.60
4.3.10.0000.0337.60
4.3.00.0100.0236.33

preferences:
47.03 ms | 400 KiB | 5 Q