Skip to content

Commit

Permalink
http://php.net/manual/en/reserved.constants.php
Browse files Browse the repository at this point in the history
"Usually, PHP_INT_MIN === ~PHP_INT_MAX."
  • Loading branch information
bkrukowski committed Jan 10, 2018
1 parent dddf4c6 commit 7c12072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subdumpers/ScalarDumper.php
Expand Up @@ -81,7 +81,7 @@ private static function init()
return;
}

self::$intMapping[-PHP_INT_MAX - 1] = 'PHP_INT_MIN';
self::$intMapping[~PHP_INT_MAX] = 'PHP_INT_MIN';
self::$inited = true;
}
}

0 comments on commit 7c12072

Please sign in to comment.