3v4l.org

run code in 300+ PHP versions simultaneously
<?php $errors = get_defined_constants(true)['Core']; var_dump(substr(array_search(8192, $errors), 1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2gR8m
function name:  (null)
number of ops:  17
compiled vars:  !0 = $errors
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'get_defined_constants'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $1      
          3        FETCH_DIM_R                                      ~2      $1, 'Core'
          4        ASSIGN                                                   !0, ~2
    4     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'substr'
          7        INIT_FCALL                                               'array_search'
          8        SEND_VAL                                                 8192
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        SEND_VAL                                                 1
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
197.19 ms | 1394 KiB | 21 Q