Previously I have been developing an app using PHP 5.6.7 in Linux, however recently I've switched to a Windows environment using WAMP 64 bit and upgraded PHP to 5.6.12 and been running into a few issues. One issue is in the backend PHP I have an array of integers. When I print to return to the front which prints the return array to the console I get a different format. That is:
$permission->fk_org_id = [24053826281537536,24051529749102626,111]; print json_encode($permission->fk_org_id); Returns the following to the console:
0:24053826281538000 1:24051529749103000 2:111 Why is this happening?
echo PHP_INT_MAX?