3v4l.org

run code in 300+ PHP versions simultaneously
<?php $orgName = "dog"; $organizations = ["dog","cat"]; //foreach ($organizations as &$value) { if( stristr($orgName,$value) == True ){ echo $value; } //}
Finding entry points
Branch analysis from position: 0
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
filename:       /in/QXj1D
function name:  (null)
number of ops:  10
compiled vars:  !0 = $orgName, !1 = $organizations, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'dog'
    5     1        ASSIGN                                                   !1, <array>
    9     2        INIT_FCALL                                               'stristr'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !2
          5        DO_ICALL                                         $5      
          6        BOOL                                             ~6      $5
          7      > JMPZ                                                     ~6, ->9
   10     8    >   ECHO                                                     !2
   14     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.87 ms | 1385 KiB | 15 Q