X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=contrib%2Flfdb2%2Fread.php;fp=contrib%2Flfdb2%2Fread.php;h=ae573df2ddbefd109858ac67e3a167b1a5811d73;hp=8779b654ff2e9f4275daa9786726262644d0f841;hb=bde1a7331a8a5c1e4a304583c0db268026aeb8a8;hpb=ce7d4f1ec37db463e6008655bbc56b811c5a5d86 diff --git a/contrib/lfdb2/read.php b/contrib/lfdb2/read.php index 8779b654..ae573df2 100644 --- a/contrib/lfdb2/read.php +++ b/contrib/lfdb2/read.php @@ -14,7 +14,7 @@ $__factor = constant('__FACTOR_32'); $__format = constant('__FORMAT_READ_32'); $__step = constant('__STEP_32'); -if ((isset($_SERVER['argv'][1])) && ($_SERVER['argv'][1] == '-64')) { +if (PHP_INT_SIZE === 8) { // Use 64-bit $__factor = constant('__FACTOR_64'); $__format = constant('__FORMAT_READ_64');