3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("FOO", 5); echo 5 * FOO; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jTJ4G
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'FOO'
          2        SEND_VAL                                                 5
          3        DO_ICALL                                                 
    2     4        FETCH_CONSTANT                                   ~1      'FOO'
          5        MUL                                              ~2      ~1, 5
          6        ECHO                                                     ~2
    3     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.77 ms | 1394 KiB | 15 Q