3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.24 ms | 1385 KiB | 15 Q