This commit is contained in:
Daniil Gentili 2017-05-06 19:10:39 +01:00
parent 90669bb401
commit 9ff67a2819
2 changed files with 3 additions and 2 deletions

View File

@ -34,3 +34,4 @@ array(2) {
As you can see, the factorize function accepts integers and strings as parameter, so that if you're poor and you have only a 32 bit system, you will still be able to provide 64 bit integers as a string. As you can see, the factorize function accepts integers and strings as parameter, so that if you're poor and you have only a 32 bit system, you will still be able to provide 64 bit integers as a string.
The function can throw an \Exception if factorization fails.

View File

@ -1,3 +1,3 @@
<?php <?php
var_dump(factorize(2189285106422392999)); var_dump(factorize(1724114033281923457));
var_dump(factorize("2189285106422392999")); //var_dump(factorize("2189285106422392999"));