3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.09 ms | 1394 KiB | 15 Q