3v4l.org

run code in 300+ PHP versions simultaneously
<?php $flavor = "Cookie Dough"; $search_term = "Cookie"; if (stripos($search_term,$flavor) !== false) { echo "Randy's favorite flavor of ice cream contains the search term '" . $search_term . "'."; } else { echo "Randy's favorite flavor of ice cream does NOT contain the search term '" . $search_term . "'."; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xc2Or
function name:  (null)
number of ops:  16
compiled vars:  !0 = $flavor, !1 = $search_term
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Cookie+Dough'
    4     1        ASSIGN                                                   !1, 'Cookie'
    6     2        INIT_FCALL                                               'stripos'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        TYPE_CHECK                                  1018          $4
          7      > JMPZ                                                     ~5, ->12
    8     8    >   CONCAT                                           ~6      'Randy%27s+favorite+flavor+of+ice+cream+contains+the+search+term+%27', !1
          9        CONCAT                                           ~7      ~6, '%27.'
         10        ECHO                                                     ~7
         11      > JMP                                                      ->15
   12    12    >   CONCAT                                           ~8      'Randy%27s+favorite+flavor+of+ice+cream+does+NOT+contain+the+search+term+%27', !1
         13        CONCAT                                           ~9      ~8, '%27.'
         14        ECHO                                                     ~9
   16    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.94 ms | 1395 KiB | 15 Q