3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.76 ms | 1435 KiB | 14 Q