3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<< 'EOD' { "int": 12345678999999999999, "float": 12345678999999999999.5678 } EOD; var_dump(json_decode($json, false, 512, JSON_BIGINT_AS_STRING));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EeqYU
function name:  (null)
number of ops:  11
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%0A++++%22int%22%3A+12345678999999999999%2C%0A++++%22float%22%3A+12345678999999999999.5678%0A%7D'
    9     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 <false>
          5        SEND_VAL                                                 512
          6        SEND_VAL                                                 2
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
197.07 ms | 1459 KiB | 15 Q