3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = json_decode("govno", true); if (is_null($array)) { var_dump(json_last_error_msg()); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/tU685
function name:  (null)
number of ops:  13
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 'govno'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    4     5        TYPE_CHECK                                    2          !0
          6      > JMPZ                                                     ~3, ->12
    5     7    >   INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'json_last_error_msg'
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                                 
    6    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.48 ms | 1394 KiB | 19 Q