3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.73 ms | 1394 KiB | 19 Q