3v4l.org

run code in 300+ PHP versions simultaneously
<?php function encryptPassword($password) { $encryptedPassword = md5($password).md5("MOOYOUL"); // SHA1 암호화하고 Base64로 Encode한걸 또 다시 SHA1로 암호화 $encryptedPassword = sha1(sha1(sha1($encryptedPassword, true), true), false).sha1("MOOYOUL").sha1("merong"); return $encryptedPassword; } $original = "password"; $encrypted = encryptPassword($original); var_dump($original, $encrypted);

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.0140.00016.63
8.3.50.0110.00721.96
8.3.40.0070.01418.68
8.3.30.0060.00819.14
8.3.20.0040.00420.34
8.3.10.0080.00023.64
8.3.00.0040.00417.68
8.2.180.0090.01216.50
8.2.170.0150.00022.96
8.2.160.0030.01020.57
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0050.00221.05
8.2.110.0090.00022.25
8.2.100.0110.00018.22
8.2.90.0050.00319.05
8.2.80.0050.00317.97
8.2.70.0080.00017.34
8.2.60.0050.00317.80
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0060.00318.07
8.2.20.0080.00017.55
8.2.10.0000.00718.02
8.2.00.0000.00717.70
8.1.280.0100.00725.92
8.1.270.0040.00422.05
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.91
8.1.230.0040.00819.14
8.1.220.0000.00717.74
8.1.210.0030.00518.77
8.1.200.0000.00817.35
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0040.00418.57
8.1.160.0040.00422.02
8.1.150.0080.00018.89
8.1.140.0080.00017.41
8.1.130.0030.00317.68
8.1.120.0020.00517.54
8.1.110.0050.00317.40
8.1.100.0050.00217.51
8.1.90.0050.00217.39
8.1.80.0100.00017.35
8.1.70.0040.00417.41
8.1.60.0030.00617.48
8.1.50.0000.00817.43
8.1.40.0080.00017.54
8.1.30.0040.00417.48
8.1.20.0040.00417.48
8.1.10.0040.00417.33
8.1.00.0040.00417.42
8.0.300.0040.00418.77
8.0.290.0040.00416.58
8.0.280.0080.00018.45
8.0.270.0030.00317.26
8.0.260.0060.00017.18
8.0.250.0000.00716.92
8.0.240.0000.00816.90
8.0.230.0030.00616.86
8.0.220.0030.00316.90
8.0.210.0060.00016.94
8.0.200.0000.00716.96
8.0.190.0000.00816.92
8.0.180.0000.00716.86
8.0.170.0000.00816.97
8.0.160.0000.00716.92
8.0.150.0050.00216.81
8.0.140.0000.00716.82
8.0.130.0030.00513.29
8.0.120.0040.00416.90
8.0.110.0030.00616.81
8.0.100.0000.00716.88
8.0.90.0050.00216.86
8.0.80.0070.00716.95
8.0.70.0080.00016.95
8.0.60.0000.00716.84
8.0.50.0040.00416.94
8.0.30.0140.00517.02
8.0.20.0080.01017.40
8.0.10.0000.00716.92
8.0.00.0110.01116.68
7.4.330.0020.00215.00
7.4.320.0000.00616.50
7.4.300.0030.00316.41
7.4.290.0000.00816.62
7.4.280.0080.00016.65
7.4.270.0030.00316.45
7.4.260.0040.00316.47
7.4.250.0040.00416.56
7.4.240.0020.00516.54
7.4.230.0070.00016.40
7.4.220.0120.00316.55
7.4.210.0120.00316.64
7.4.200.0050.00216.34
7.4.160.0100.00716.44
7.4.150.0110.00717.40
7.4.140.0160.00617.86
7.4.130.0130.00616.49
7.4.120.0060.01016.47
7.4.110.0040.01316.48
7.4.100.0150.00316.38
7.4.90.0100.00716.45
7.4.80.0130.00719.39
7.4.70.0060.00916.41
7.4.60.0130.01016.60
7.4.50.0070.00016.60
7.4.40.0100.01116.41
7.4.30.0060.01116.41
7.4.00.0140.00314.72
7.3.330.0040.00213.06
7.3.320.0000.00513.18
7.3.310.0000.00716.20
7.3.300.0030.00316.25
7.3.290.0000.01416.25
7.3.280.0100.00716.25
7.3.270.0080.00817.40
7.3.260.0080.00816.20
7.3.250.0130.00416.39
7.3.240.0100.00716.43
7.3.230.0120.01216.39
7.3.210.0050.01116.26
7.3.200.0030.01819.39
7.3.190.0100.00716.29
7.3.180.0120.00416.28
7.3.170.0100.00716.41
7.3.160.0090.00616.22
7.3.120.0100.00714.75
7.2.330.0140.00716.61
7.2.320.0100.00716.73
7.2.310.0070.01016.56
7.2.300.0160.00016.61
7.2.290.0170.00016.70
7.2.60.0070.01117.09
7.2.00.0030.00919.34
7.1.200.0030.00915.71
7.1.100.0040.00718.20
7.1.70.0080.00417.09
7.1.60.0100.01619.70
7.1.50.0240.00734.75
7.1.00.0070.07322.37
7.0.200.0030.00316.42
7.0.140.0030.07022.07
7.0.60.0030.08719.96
7.0.50.0000.04317.90
7.0.40.0030.08720.02
7.0.30.0300.04720.35
7.0.20.0230.07320.07
7.0.10.0300.08020.16
7.0.00.0070.09020.10
5.6.280.0070.06721.11
5.6.210.0100.03320.65
5.6.200.0100.08318.12
5.6.190.0030.08720.62
5.6.180.0030.04720.50
5.6.170.0430.03320.71
5.6.160.0030.05720.68
5.6.150.0030.04318.19
5.6.140.0070.07318.19
5.6.130.0070.07718.20
5.6.120.0000.04721.00
5.6.110.0170.07321.02
5.6.100.0070.08021.01
5.6.90.0230.07320.97
5.6.80.0130.07720.31
5.6.70.3100.03320.43
5.5.350.0030.06320.38
5.5.340.0200.04717.99
5.5.330.0070.05020.27
5.5.320.0230.04320.30
5.5.310.0370.07320.35
5.5.300.0100.07317.92
5.5.290.0100.08018.02
5.5.280.0100.08020.73
5.5.270.0170.07320.80
5.5.260.0200.07020.68
5.5.250.0130.07320.58
5.5.240.0170.06720.26
5.4.450.0430.05019.39
5.4.440.0770.04019.20
5.4.430.1200.03719.21
5.4.420.1530.03019.47
5.4.410.1300.02319.42
5.4.400.1070.03019.20
5.4.390.0870.05319.31
5.4.380.0230.06318.53
5.4.370.0400.03718.76
5.4.360.0370.04318.78
5.4.350.0300.06018.63
5.4.340.0400.04318.77
5.4.320.0050.03712.50
5.4.310.0060.03812.50
5.4.300.0090.03312.50
5.4.290.0050.03912.50
5.4.280.0070.03512.40
5.4.270.0060.03812.40
5.4.260.0110.03312.40
5.4.250.0070.03612.40
5.4.240.0060.03512.40
5.4.230.0010.04312.39
5.4.220.0070.03512.39
5.4.210.0090.03712.39
5.4.200.0050.03912.39
5.4.190.0050.03612.38
5.4.180.0070.03512.39
5.4.170.0040.04012.39
5.4.160.0100.04012.39
5.4.150.0080.04812.39
5.4.140.0060.04012.07
5.4.130.0050.03612.05
5.4.120.0070.03512.02
5.4.110.0050.03712.01
5.4.100.0060.03512.01
5.4.90.0070.03612.02
5.4.80.0050.03812.01
5.4.70.0090.03812.01
5.4.60.0040.03812.01
5.4.50.0070.04412.01
5.4.40.0060.03412.00
5.4.30.0080.03812.00
5.4.20.0010.04112.00
5.4.10.0080.04012.00
5.4.00.0090.03711.48
5.3.290.0080.04112.80
5.3.280.0100.03912.71
5.3.270.0100.04912.72
5.3.260.0080.05012.71
5.3.250.0100.04912.72
5.3.240.0050.04112.72
5.3.230.0120.04412.71
5.3.220.0060.03812.68
5.3.210.0070.03812.68
5.3.200.0090.04212.68
5.3.190.0070.03712.67
5.3.180.0040.04012.67
5.3.170.0050.03812.67
5.3.160.0100.04412.68
5.3.150.0080.03512.68
5.3.140.0080.03412.66
5.3.130.0130.04612.66
5.3.120.0090.04712.66
5.3.110.0060.04412.66
5.3.100.0070.03612.11
5.3.90.0090.03912.10
5.3.80.0070.03612.09
5.3.70.0050.03612.09
5.3.60.0110.03712.07
5.3.50.0090.03812.02
5.3.40.0090.03412.02
5.3.30.0080.03411.98
5.3.20.0040.03811.76
5.3.10.0080.04211.73
5.3.00.0110.03211.71
5.2.170.0060.0309.21
5.2.160.0070.0299.21
5.2.150.0050.0319.22
5.2.140.0060.0299.21
5.2.130.0040.0319.17
5.2.120.0110.0309.18
5.2.110.0060.0299.18
5.2.100.0040.0309.18
5.2.90.0040.0339.18
5.2.80.0030.0329.17
5.2.70.0090.0269.17
5.2.60.0080.0309.13
5.2.50.0080.0269.09
5.2.40.0040.0309.07
5.2.30.0070.0289.05
5.2.20.0080.0279.04
5.2.10.0040.0298.94
5.2.00.0030.0318.80
5.1.60.0030.0258.09
5.1.50.0040.0258.08
5.1.40.0040.0268.06
5.1.30.0060.0238.41
5.1.20.0080.0248.43
5.1.10.0040.0278.16
5.1.00.0030.0278.16
5.0.50.0050.0206.64
5.0.40.0090.0226.50
5.0.30.0060.0396.31
5.0.20.0090.0216.28
5.0.10.0040.0246.26
5.0.00.0060.0346.25
4.4.90.0020.0164.78
4.4.80.0030.0154.76
4.4.70.0040.0144.75
4.4.60.0010.0174.76
4.4.50.0030.0154.77
4.4.40.0020.0264.71
4.4.30.0040.0144.76
4.4.20.0060.0124.84
4.4.10.0020.0164.85
4.4.00.0030.0254.76
4.3.110.0050.0144.66
4.3.100.0070.0124.66
4.3.90.0020.0154.64
4.3.80.0020.0254.59
4.3.70.0010.0164.63
4.3.60.0020.0154.63
4.3.50.0020.0164.63
4.3.40.0040.0304.53
4.3.30.0010.0223.30
4.3.20.0030.0173.27
4.3.10.0010.0163.24
4.3.00.0070.02015.01

preferences:
41.68 ms | 401 KiB | 5 Q