3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = $_SERVER["REQUEST_URI"]; if (strpos($url, "multi-pdf") !== false) { $showIcon = " . esc_url( get_header_image() ) . " ; }else { $showIcon = "http://batchpdfmerger.com/images/icon.png" ; } if ( get_header_image() != '' ) { echo 'style="background-image: url($showIcon);"'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 17
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 17
Branch analysis from position: 16
Branch analysis from position: 17
filename:       /in/OFqrF
function name:  (null)
number of ops:  18
compiled vars:  !0 = $url, !1 = $showIcon
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_R                      global              ~2      '_SERVER'
          1        FETCH_DIM_R                                      ~3      ~2, 'REQUEST_URI'
          2        ASSIGN                                                   !0, ~3
    3     3        INIT_FCALL                                               'strpos'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 'multi-pdf'
          6        DO_ICALL                                         $5      
          7        TYPE_CHECK                                  1018          $5
          8      > JMPZ                                                     ~6, ->11
    4     9    >   ASSIGN                                                   !1, '+.+esc_url%28+get_header_image%28%29+%29+.+'
         10      > JMP                                                      ->12
    6    11    >   ASSIGN                                                   !1, 'http%3A%2F%2Fbatchpdfmerger.com%2Fimages%2Ficon.png'
    8    12    >   INIT_FCALL_BY_NAME                                       'get_header_image'
         13        DO_FCALL                                      0  $9      
         14        IS_NOT_EQUAL                                             $9, ''
         15      > JMPZ                                                     ~10, ->17
         16    >   ECHO                                                     'style%3D%22background-image%3A+url%28%24showIcon%29%3B%22'
         17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.72 ms | 1395 KiB | 15 Q