]> CyberLeo.Net >> Repos - Github/YOURLS.git/commit
Better yourls_int2string() & yourls_string2int()
authorozh <ozh@ozh.org>
Mon, 3 Nov 2014 21:57:41 +0000 (22:57 +0100)
committerozh <ozh@ozh.org>
Mon, 3 Nov 2014 21:57:41 +0000 (22:57 +0100)
commit67a399f0f2edf2dd93748dba345f91159f29ca86
tree8469a90067663cec5ff794b77e3fa3b3e35b1ea0
parent4b72d517a6c2d2f9499cdda426ac9fd5eab5eaf7
Better yourls_int2string() & yourls_string2int()

50% faster and without needing BCMaths extension.
Tested with 20,000,000 random numbers and random strings to make sure they produce same results as previous functions
includes/functions-compat.php
includes/functions-formatting.php