3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (! defined('_PS_MODE_DEV_')) { if (false) { define('_PS_MODE_DEV_', true); } else { define('_PS_MODE_DEV_', false); } } var_dump(_PS_MODE_DEV_);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 13
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/r89Jj
function name:  (null)
number of ops:  18
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   DEFINED                                          ~0      '_PS_MODE_DEV_'
          1        BOOL_NOT                                         ~1      ~0
          2      > JMPZ                                                     ~1, ->13
    5     3    > > JMPZ                                                     <false>, ->9
    6     4    >   INIT_FCALL                                               'define'
          5        SEND_VAL                                                 '_PS_MODE_DEV_'
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                                 
    5     8      > JMP                                                      ->13
    9     9    >   INIT_FCALL                                               'define'
         10        SEND_VAL                                                 '_PS_MODE_DEV_'
         11        SEND_VAL                                                 <false>
         12        DO_ICALL                                                 
   12    13    >   INIT_FCALL                                               'var_dump'
         14        FETCH_CONSTANT                                   ~4      '_PS_MODE_DEV_'
         15        SEND_VAL                                                 ~4
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.92 ms | 998 KiB | 15 Q