Bug #72272 [NEW]: var_dump() incorrect PHP_INT_MAX/MIN info

From: Date: Fri, 27 May 2016 04:27:17 +0000
Subject: Bug #72272 [NEW]: var_dump() incorrect PHP_INT_MAX/MIN info
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-201291@lists.php.net to get a copy of this message
From: denixport at gmail dot com Operating system: Windows 10 64bit PHP version: 7.0.7 Package: Unknown/Other Function Bug Type: Bug Bug description:var_dump() incorrect PHP_INT_MAX/MIN info Description: ------------ var_dump() doesn't show correct info about PHP_INT_MAX and PHP_INT_MIN constants on 64bit Windows Test script: --------------- <?php echo PHP_INT_MAX, PHP_EOL; echo PHP_INT_MIN, PHP_EOL; var_dump(PHP_INT_MAX); var_dump(PHP_INT_MIN); Expected result: ---------------- 9223372036854775807 -9223372036854775808 int(9223372036854775807) int(-9223372036854775808) Actual result: -------------- 9223372036854775807 -9223372036854775808 int(-1) int(0) -- Edit bug report at https://bugs.php.net/bug.php?id=72272&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72272&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72272&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72272&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=72272&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=72272&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=72272&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=72272&r=needscript Try newer version: https://bugs.php.net/fix.php?id=72272&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=72272&r=support Expected behavior: https://bugs.php.net/fix.php?id=72272&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=72272&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=72272&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=72272&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72272&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=72272&r=dst IIS Stability: https://bugs.php.net/fix.php?id=72272&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=72272&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=72272&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=72272&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=72272&r=mysqlcfg

« previous php.bugs (#201291) next »