3v4l.org

run code in 300+ PHP versions simultaneously
<?php $concatString = "20161017T215257|580501e9f37ee|F3C0K54C|START_LOAN_DEMAND|123456|MS|5000000|0|104|CZK|||TV Samsung S25|15001|NESS|Navratil|Zdenek|604123456||zdenek.navratil@cofidis.cz|||||||||||http://www.myelectro.cz/callback.php"; $encod = mb_detect_encoding($concatString); $utfString = mb_convert_encoding($concatString,"UTF-16LE",$encod); $hashTag = sha1($utfString,true); echo $hashTag; echo "\r\n"; $base64Tag = base64_encode($hashTag); echo $base64Tag; echo "\r\n"; $forTriple = bin2hex(mb_convert_encoding($base64Tag,"UTF-16LE")); echo $forTriple; echo "\r\n";

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.0090.00616.50
8.3.50.0100.01018.18
8.3.40.0070.00718.77
8.3.30.0090.00618.60
8.3.20.0040.00420.34
8.3.10.0030.00621.70
8.3.00.0070.00319.55
8.2.180.0120.00918.18
8.2.170.0060.00922.96
8.2.160.0120.00319.16
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0030.00626.16
8.2.120.0000.00819.83
8.2.110.0030.00622.11
8.2.100.0070.00317.78
8.2.90.0080.00019.22
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0060.00318.18
8.2.50.0080.00018.10
8.2.40.0040.00422.15
8.2.30.0000.00719.27
8.2.20.0030.00518.21
8.2.10.0030.00518.15
8.2.00.0040.00418.13
8.1.280.0070.01125.92
8.1.270.0020.00522.05
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0000.01022.62
8.1.230.0060.00617.76
8.1.220.0040.00417.77
8.1.210.0040.00418.77
8.1.200.0060.00317.38
8.1.190.0040.00417.22
8.1.180.0000.00918.10
8.1.170.0080.00018.66
8.1.160.0000.00719.08
8.1.150.0040.00418.91
8.1.140.0000.00719.59
8.1.130.0030.00318.91
8.1.120.0040.00317.54
8.1.110.0030.00617.38
8.1.100.0040.00417.50
8.1.90.0050.00317.47
8.1.80.0040.00417.48
8.1.70.0050.00317.37
8.1.60.0060.00317.54
8.1.50.0040.00817.57
8.1.40.0000.00717.55
8.1.30.0070.00017.62
8.1.20.0000.00817.54
8.1.10.0070.00017.57
8.1.00.0060.00317.41
8.0.300.0040.00418.77
8.0.290.0030.00516.88
8.0.280.0040.00418.45
8.0.270.0030.00317.22
8.0.260.0030.00318.96
8.0.250.0030.00316.96
8.0.240.0060.00317.05
8.0.230.0040.00416.89
8.0.220.0000.00716.93
8.0.210.0030.00316.94
8.0.200.0030.00316.95
8.0.190.0040.00416.88
8.0.180.0000.00716.98
8.0.170.0030.00516.99
8.0.160.0070.00016.97
8.0.150.0040.00416.82
8.0.140.0040.00716.81
8.0.130.0030.00313.38
8.0.120.0030.00516.81
8.0.110.0050.00316.79
8.0.100.0070.00016.77
8.0.90.0020.00516.83
8.0.80.0070.01016.95
8.0.70.0080.00016.78
8.0.60.0070.00016.86
8.0.50.0050.00216.92
8.0.30.0170.01617.00
8.0.20.0120.00717.40
8.0.10.0040.00416.89
8.0.00.0130.02616.79
7.4.330.0020.00215.55
7.4.320.0050.00316.61
7.4.300.0000.00816.63
7.4.290.0000.00716.44
7.4.280.0030.00616.50
7.4.270.0000.00716.52
7.4.260.0070.00416.40
7.4.250.0080.00016.63
7.4.240.0030.00316.61
7.4.230.0030.00316.53
7.4.220.0070.01116.59
7.4.210.0110.00516.55
7.4.200.0040.00416.36
7.4.160.0070.01016.48
7.4.150.0120.00617.40
7.4.140.0130.00417.86
7.4.130.0130.00616.43
7.4.120.0120.00916.48
7.4.110.0110.01116.38
7.4.100.0100.01316.56
7.4.90.0120.00616.49
7.4.80.0100.01319.39
7.4.70.0100.00716.41
7.4.60.0040.01216.47
7.4.50.0090.00316.30
7.4.40.0140.00616.42
7.4.30.0100.01116.42
7.4.00.0080.00315.17
7.3.330.0050.00013.27
7.3.320.0030.00313.13
7.3.310.0030.00316.35
7.3.300.0000.00716.27
7.3.290.0030.00316.28
7.3.280.0090.00816.25
7.3.270.0160.01617.40
7.3.260.0140.00316.55
7.3.250.0110.01116.30
7.3.240.0090.01016.32
7.3.230.0140.00416.51
7.3.210.0080.01116.38
7.3.200.0000.01616.25
7.3.190.0150.00316.49
7.3.180.0120.00916.34
7.3.170.0110.00416.64
7.3.160.0090.01316.48
7.2.330.0070.01016.72
7.2.320.0090.00916.62
7.2.310.0080.00916.54
7.2.300.0030.01316.64
7.2.290.0110.00616.54
7.2.60.0060.00316.89
7.1.200.0000.01015.91
7.1.70.0130.00717.27
7.1.60.0370.01635.14
7.1.50.0200.02134.64
7.1.40.0210.02934.49
7.1.30.0290.01234.26
7.1.20.0290.01834.63
7.1.10.0090.00616.71
7.1.00.0080.01216.68
7.0.200.0070.01416.50
7.0.190.0080.01416.79
7.0.180.0070.01716.09
7.0.170.0090.01916.16
7.0.160.0060.01216.27
7.0.150.0040.01216.12
7.0.140.0090.01016.34
7.0.130.0110.00916.50
7.0.120.0030.01716.64
7.0.110.0130.00616.20
7.0.100.0030.01916.51
7.0.90.0160.00316.20
7.0.80.0070.01416.27
7.0.70.0130.00916.45
7.0.60.0030.01716.02
7.0.50.0070.01716.37
7.0.40.0030.01916.57
7.0.30.0080.01416.49
7.0.20.0060.01316.48
7.0.10.0060.01116.43
7.0.00.0000.01716.45

preferences:
49.27 ms | 400 KiB | 5 Q