3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('DERP', false); var_dump(defined('C5_ENVIRONMENT_ONLY') && C5_ENVIRONMENT_ONLY || DERP == 'cli');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
2 jumps found. (Code = 47) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
Branch analysis from position: 9
filename:       /in/A9ZW3
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'DERP'
          2        SEND_VAL                                                 <false>
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'var_dump'
          5        DEFINED                                          ~1      'C5_ENVIRONMENT_ONLY'
          6      > JMPZ_EX                                          ~1      ~1, ->9
          7    >   FETCH_CONSTANT                                   ~2      'C5_ENVIRONMENT_ONLY'
          8        BOOL                                             ~1      ~2
          9    > > JMPNZ_EX                                         ~1      ~1, ->13
         10    >   FETCH_CONSTANT                                   ~3      'DERP'
         11        IS_EQUAL                                         ~4      ~3, 'cli'
         12        BOOL                                             ~1      ~4
         13    >   SEND_VAL                                                 ~1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
196.21 ms | 1394 KiB | 17 Q