3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(version_compare(PHP_VERSION, '5.4') < 0 AND get_magic_quotes_gpc()); var_dump((bool) get_magic_quotes_gpc());
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/l6FlP
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'version_compare'
          2        SEND_VAL                                                 '8.0.0'
          3        SEND_VAL                                                 '5.4'
          4        DO_ICALL                                         $0      
          5        IS_SMALLER                                       ~1      $0, 0
          6      > JMPZ_EX                                          ~1      ~1, ->10
          7    >   INIT_FCALL_BY_NAME                                       'get_magic_quotes_gpc'
          8        DO_FCALL                                      0  $2      
          9        BOOL                                             ~1      $2
         10    >   SEND_VAL                                                 ~1
         11        DO_ICALL                                                 
    4    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL_BY_NAME                                       'get_magic_quotes_gpc'
         14        DO_FCALL                                      0  $4      
         15        BOOL                                             ~5      $4
         16        SEND_VAL                                                 ~5
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.21 ms | 1395 KiB | 17 Q