3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decode($json) { $x = json_decode($json); var_dump($x); $x = json_decode($json, false, 512, JSON_BIGINT_AS_STRING); var_dump($x);}decode('123456789012345678901234567890');decode('-123456789012345678901234567890');decode('123456789012345678901234567890.1');decode('-123456789012345678901234567890.1');echo "Done\n";?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Gkrsa
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'decode'
          1        SEND_VAL                                                 '123456789012345678901234567890'
          2        DO_FCALL                                      0          
          3        INIT_FCALL                                               'decode'
          4        SEND_VAL                                                 '-123456789012345678901234567890'
          5        DO_FCALL                                      0          
          6        INIT_FCALL                                               'decode'
          7        SEND_VAL                                                 '123456789012345678901234567890.1'
          8        DO_FCALL                                      0          
          9        INIT_FCALL                                               'decode'
         10        SEND_VAL                                                 '-123456789012345678901234567890.1'
         11        DO_FCALL                                      0          
         12        ECHO                                                     'Done%0A'
         13      > RETURN                                                   1

Function decode:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Gkrsa
function name:  decode
number of ops:  19
compiled vars:  !0 = $json, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV                                             !0      
          1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !1, $2
          5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
          8        INIT_FCALL                                               'json_decode'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 <false>
         11        SEND_VAL                                                 512
         12        SEND_VAL                                                 2
         13        DO_ICALL                                         $5      
         14        ASSIGN                                                   !1, $5
         15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   null

End of function decode

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.86 ms | 1399 KiB | 21 Q