3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.38 ms | 1437 KiB | 16 Q