3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.85 ms | 1395 KiB | 17 Q