3v4l.org

run code in 300+ PHP versions simultaneously
<?php @json_encode(null); if (function_exists('json_last_error_msg')) { json_last_error_msg(); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/E0mFM
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   BEGIN_SILENCE                                    ~0      
          1        INIT_FCALL                                               'json_encode'
          2        SEND_VAL                                                 null
          3        DO_ICALL                                                 
          4        END_SILENCE                                              ~0
    4     5        INIT_FCALL                                               'function_exists'
          6        SEND_VAL                                                 'json_last_error_msg'
          7        DO_ICALL                                         $2      
          8      > JMPZ                                                     $2, ->11
    5     9    >   INIT_FCALL                                               'json_last_error_msg'
         10        DO_ICALL                                                 
    6    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.15 ms | 1394 KiB | 19 Q