3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '--'; if (function_exists('mkdir') && 0) { echo 'Pouet'; } echo '--';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
Branch analysis from position: 6
filename:       /in/8eov5
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     '--'
    3     1        INIT_FCALL                                               'function_exists'
          2        SEND_VAL                                                 'mkdir'
          3        DO_ICALL                                         $0      
          4      > JMPZ_EX                                          ~1      $0, ->6
          5    >   BOOL                                             ~1      0
          6    > > JMPZ                                                     ~1, ->8
    4     7    >   ECHO                                                     'Pouet'
    6     8    >   ECHO                                                     '--'
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.55 ms | 1385 KiB | 15 Q