3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.81 ms | 1398 KiB | 21 Q