3v4l.org

run code in 300+ PHP versions simultaneously
<?php $siteContent = 'asdf 39845u ladhjsf aiue5ry ladkjshf asldkjhf'; $content = ''; var_dump(empty($content)); var_dump(empty($content) || stripos($siteContent, $content) !== false);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 9, Position 2 = 15
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/UY2nW
function name:  (null)
number of ops:  18
compiled vars:  !0 = $siteContent, !1 = $content
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'asdf+39845u+ladhjsf+aiue5ry+ladkjshf+asldkjhf'
    3     1        ASSIGN                                                   !1, ''
    5     2        INIT_FCALL                                               'var_dump'
          3        ISSET_ISEMPTY_CV                                 ~4      !1
          4        SEND_VAL                                                 ~4
          5        DO_ICALL                                                 
    6     6        INIT_FCALL                                               'var_dump'
          7        ISSET_ISEMPTY_CV                                 ~6      !1
          8      > JMPNZ_EX                                         ~6      ~6, ->15
          9    >   INIT_FCALL                                               'stripos'
         10        SEND_VAR                                                 !0
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $7      
         13        TYPE_CHECK                                  1018  ~8      $7
         14        BOOL                                             ~6      ~8
         15    >   SEND_VAL                                                 ~6
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.91 ms | 1394 KiB | 17 Q