3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(json_decode('', true)); var_dump(json_last_error()); var_dump(json_last_error_msg());
based on S9P3v
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/Gr93E
function name:  (null)
number of ops:  18
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'var_dump'
         1        INIT_FCALL                                               'json_decode'
         2        SEND_VAL                                                 ''
         3        SEND_VAL                                                 <true>
         4        DO_ICALL                                         $0      
         5        SEND_VAR                                                 $0
         6        DO_ICALL                                                 
   4     7        INIT_FCALL                                               'var_dump'
         8        INIT_FCALL                                               'json_last_error'
         9        DO_ICALL                                         $2      
        10        SEND_VAR                                                 $2
        11        DO_ICALL                                                 
   5    12        INIT_FCALL                                               'var_dump'
        13        INIT_FCALL                                               'json_last_error_msg'
        14        DO_ICALL                                         $4      
        15        SEND_VAR                                                 $4
        16        DO_ICALL                                                 
        17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0