3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = json_decode('[2000]', true, 512, JSON_FLOAT_AS_STRING); var_dump($data);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/REckp
function name:  (null)
number of ops:  12
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%5B2000%5D'
          2        SEND_VAL                                                 <true>
          3        SEND_VAL                                                 512
          4        FETCH_CONSTANT                                   ~1      'JSON_FLOAT_AS_STRING'
          5        SEND_VAL                                                 ~1
          6        DO_ICALL                                         $2      
          7        ASSIGN                                                   !0, $2
    4     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.77 ms | 1394 KiB | 17 Q