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-8",$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-8")); 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.40.0070.00718.71
8.3.30.0140.00018.72
8.3.20.0080.00020.34
8.3.10.0050.00323.52
8.3.00.0030.00519.56
8.2.170.0110.00422.96
8.2.160.0070.01318.96
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00420.91
8.2.120.0030.00326.35
8.2.110.0000.00922.13
8.2.100.0090.00317.91
8.2.90.0040.00419.17
8.2.80.0080.00018.05
8.2.70.0000.00817.50
8.2.60.0030.00617.93
8.2.50.0000.00818.10
8.2.40.0000.00822.38
8.2.30.0000.01019.31
8.2.20.0030.00518.21
8.2.10.0000.00718.07
8.2.00.0000.00718.18
8.1.270.0080.00022.02
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0000.00920.90
8.1.230.0110.00019.14
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0090.00017.22
8.1.180.0000.00718.10
8.1.170.0040.00418.59
8.1.160.0040.00419.02
8.1.150.0070.00018.93
8.1.140.0040.00419.57
8.1.130.0070.00018.93
8.1.120.0000.00817.51
8.1.110.0030.00617.46
8.1.100.0030.00517.34
8.1.90.0050.00317.34
8.1.80.0000.00717.41
8.1.70.0000.00817.50
8.1.60.0040.00417.57
8.1.50.0000.00717.56
8.1.40.0000.00817.41
8.1.30.0040.00417.61
8.1.20.0040.00417.64
8.1.10.0040.00417.53
8.1.00.0020.00517.47
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0030.00318.41
8.0.270.0040.00417.32
8.0.260.0000.00718.95
8.0.250.0040.00416.98
8.0.240.0050.00317.00
8.0.230.0030.00316.84
8.0.220.0000.00716.89
8.0.210.0070.00016.92
8.0.200.0060.00017.01
8.0.190.0040.00416.99
8.0.180.0070.00016.95
8.0.170.0000.00716.86
8.0.160.0070.00017.01
8.0.150.0070.00016.86
8.0.140.0060.00316.86
8.0.130.0070.00013.41
8.0.120.0050.00216.74
8.0.110.0040.00316.71
8.0.100.0040.00416.76
8.0.90.0040.00416.87
8.0.80.0120.00916.91
8.0.70.0030.00516.77
8.0.60.0000.00716.74
8.0.50.0070.00016.93
8.0.30.0070.01017.15
8.0.20.0140.00817.40
8.0.10.0100.00017.01
8.0.00.0100.01216.95
7.4.330.0000.00515.55
7.4.320.0060.00016.51
7.4.300.0060.00016.50
7.4.290.0070.00016.41
7.4.280.0080.00016.50
7.4.270.0050.00216.36
7.4.260.0000.00716.57
7.4.250.0000.00816.55
7.4.240.0050.00216.58
7.4.230.0030.00316.31
7.4.220.0150.00316.70
7.4.210.0110.00716.57
7.4.200.0050.00216.62
7.4.160.0100.00716.42
7.4.150.0070.01117.40
7.4.140.0140.00617.86
7.4.130.0130.01316.59
7.4.120.0100.00816.48
7.4.110.0040.01216.55
7.4.100.0070.01316.31
7.4.90.0090.00916.59
7.4.80.0060.01019.39
7.4.70.0070.01016.26
7.4.60.0060.01016.38
7.4.50.0030.01316.47
7.4.40.0040.01516.55
7.4.30.0120.00916.48
7.4.00.0040.01114.71
7.3.330.0050.00013.02
7.3.320.0000.00613.10
7.3.310.0000.00716.23
7.3.300.0040.00416.29
7.3.290.0000.00616.22
7.3.280.0050.01116.27
7.3.270.0130.00717.40
7.3.260.0100.01216.44
7.3.250.0160.00416.47
7.3.240.0110.00516.50
7.3.230.0130.00616.44
7.3.210.0090.00916.44
7.3.200.0080.00816.30
7.3.190.0100.01316.49
7.3.180.0100.01416.57
7.3.170.0160.00016.36
7.3.160.0090.00616.27
7.2.330.0140.00616.60
7.2.320.0090.00916.44
7.2.310.0140.00316.70
7.2.300.0100.01016.60
7.2.290.0070.01016.41
7.2.60.0120.00016.56
7.2.50.0080.00316.91
7.1.200.0060.00615.63
7.1.70.0110.01517.29
7.1.60.0380.01134.91
7.1.50.0300.01834.97
7.1.40.0270.02334.32
7.1.30.0320.01734.63
7.1.20.0270.01634.61
7.1.10.0120.01016.71
7.1.00.0110.01116.70
7.0.200.0240.01116.89
7.0.190.0110.01516.60
7.0.180.0110.01016.16
7.0.170.0150.00716.25
7.0.160.0140.00916.29
7.0.150.0140.00816.13
7.0.140.0040.01816.34
7.0.130.0030.01716.56
7.0.120.0060.01316.62
7.0.110.0140.00616.38
7.0.100.0170.00416.31
7.0.90.0090.01216.22
7.0.80.0050.01616.28
7.0.70.0090.00916.36
7.0.60.0130.01015.97
7.0.50.0110.01216.35
7.0.40.0060.01516.70
7.0.30.0150.00916.75
7.0.20.0060.01516.52
7.0.10.0110.00716.39
7.0.00.0080.01116.39

preferences:
59.41 ms | 400 KiB | 5 Q