mirror of
https://github.com/danog/PrimeModule-ext.git
synced 2024-11-26 20:04:40 +01:00
7 lines
203 B
PHP
7 lines
203 B
PHP
<?php
|
|
|
|
$f = FFI::load("/usr/include/primemodule-ffi.h");
|
|
|
|
// Always pass strings to allow 64-bit factorization with no loss of precision on 32-bit PHP.
|
|
var_dump($f->factorizeFFI("2189285106422392999"));
|