3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pri = array(); $pri['+'] = 0; $pri['-'] = 1; $pri['*'] = 2; $pri['/'] = 3; $pri['^'] = 4; var_dump(array_keys($pri)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s3KZV
function name:  (null)
number of ops:  18
compiled vars:  !0 = $pri
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, '%2B'
          2        OP_DATA                                                  0
    4     3        ASSIGN_DIM                                               !0, '-'
          4        OP_DATA                                                  1
    5     5        ASSIGN_DIM                                               !0, '%2A'
          6        OP_DATA                                                  2
    6     7        ASSIGN_DIM                                               !0, '%2F'
          8        OP_DATA                                                  3
    7     9        ASSIGN_DIM                                               !0, '%5E'
         10        OP_DATA                                                  4
    9    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'array_keys'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $7      
         15        SEND_VAR                                                 $7
         16        DO_ICALL                                                 
   11    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.61 ms | 1394 KiB | 17 Q