3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.22 ms | 1394 KiB | 15 Q