3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = 'class Projects { '; $pattern = 'Projects'; $offset = 0; var_dump($line, $pattern, stripos($line, $pattern, $offset));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QuF2R
function name:  (null)
number of ops:  14
compiled vars:  !0 = $line, !1 = $pattern, !2 = $offset
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'class+Projects+%7B%0A'
    5     1        ASSIGN                                                   !1, 'Projects'
    6     2        ASSIGN                                                   !2, 0
    8     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        INIT_FCALL                                               'stripos'
          7        SEND_VAR                                                 !0
          8        SEND_VAR                                                 !1
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                         $6      
         11        SEND_VAR                                                 $6
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.54 ms | 1394 KiB | 17 Q