3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.83 ms | 1394 KiB | 17 Q