3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_decode(' '); echo json_last_error_msg(); echo json_decode(''); echo json_last_error_msg();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dbn3U
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '+++++'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    4     4        INIT_FCALL                                               'json_last_error_msg'
          5        DO_ICALL                                         $1      
          6        ECHO                                                     $1
    5     7        INIT_FCALL                                               'json_decode'
          8        SEND_VAL                                                 ''
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
    6    11        INIT_FCALL                                               'json_last_error_msg'
         12        DO_ICALL                                         $3      
         13        ECHO                                                     $3
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.03 ms | 1394 KiB | 17 Q