3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r( json_encode( json_decode( "{}", true), true).length ); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OoqQH
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'json_encode'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAL                                                 '%7B%7D'
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $1      
          9        FETCH_CONSTANT                                   ~2      'length'
         10        CONCAT                                           ~3      $1, ~2
         11        SEND_VAL                                                 ~3
         12        DO_ICALL                                                 
    5    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.1 ms | 1394 KiB | 19 Q