Write a PHP script to decode large integers.
Sample integer :{"number": 123456789012345678901234567890}
<?php $json = '{"number": 123456789012345678901234567890}'; var_dump(json_decode($json)); ?>
Sample Output:
object(stdClass)#1 (1) { ["number"]=> float(1.2345678901235E+29) }
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer