3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = 'foo bar baz'; var_dump(stripos($t, 'foo'), stripos($t, 'bar'), stripos($t, 'baz'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vZKbl
function name:  (null)
number of ops:  19
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'foo%0Abar%0Abaz'
    7     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'stripos'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 'foo'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        INIT_FCALL                                               'stripos'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 'bar'
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        INIT_FCALL                                               'stripos'
         13        SEND_VAR                                                 !0
         14        SEND_VAL                                                 'baz'
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.85 ms | 1394 KiB | 17 Q