3v4l.org

run code in 500+ PHP versions simultaneously
<?php if($_POST){ var_dump(true); }else{ var_dump(false); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 6
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VhOtg
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   FETCH_R                          global              ~0      '_POST'
          1      > JMPZ                                                         ~0, ->6
    3     2    >   INIT_FCALL                                                   'var_dump'
          3        SEND_VAL                                                     <true>
          4        DO_ICALL                                                     
    2     5      > JMP                                                          ->9
    5     6    >   INIT_FCALL                                                   'var_dump'
          7        SEND_VAL                                                     <false>
          8        DO_ICALL                                                     
    6     9    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.98 ms | 3296 KiB | 14 Q