X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=contrib%2Flfdb2%2Fwrite.php;h=25941cdd1c2106929737b175b6a4ad6df115757a;hb=3bf7a368ab63fcdd3602d21f5be2467e2c23d501;hp=25cdbbdb21ef829167aa9fcb786a7f9686709aeb;hpb=f9eece01f1c8c387e82daef7a0599b7ab320e1b1;p=core.git diff --git a/contrib/lfdb2/write.php b/contrib/lfdb2/write.php index 25cdbbdb..25941cdd 100644 --- a/contrib/lfdb2/write.php +++ b/contrib/lfdb2/write.php @@ -20,7 +20,7 @@ $__right = constant('__RIGHT_32'); $__format = constant('__FORMAT_WRITE_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'); $__left = constant('__LEFT_64');