3v4l.org

run code in 300+ PHP versions simultaneously
<?php spl_autoload_register(function($c) {var_dump("loading $c");}); var_dump(get_defined_constants()['JsonIncrementalParser::JSON_PARSER_SUCCESS'] ?? null);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r3O9o
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'spl_autoload_register'
          1        DECLARE_LAMBDA_FUNCTION                          ~0      [0]
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'get_defined_constants'
          6        DO_ICALL                                         $2      
          7        FETCH_DIM_IS                                     ~3      $2, 'JsonIncrementalParser%3A%3AJSON_PARSER_SUCCESS'
          8        COALESCE                                         ~4      ~3
          9        QM_ASSIGN                                        ~4      null
         10        SEND_VAL                                                 ~4
         11        DO_ICALL                                                 
         12      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r3O9o
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        INIT_FCALL                                               'var_dump'
          2        NOP                                                      
          3        FAST_CONCAT                                      ~1      'loading+', !0
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                                 
          6      > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.77 ms | 1438 KiB | 16 Q