3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a="this is school of sachin". $pattern="sch"; echo strpos($a,$pattern,-1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fr25P
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a, !1 = $pattern
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                           ~2      !1, 'sch'
          1        CONCAT                                           ~3      'this+is+school+of+sachin', ~2
    5     2        ASSIGN                                                   !0, ~3
    9     3        INIT_FCALL                                               'strpos'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 -1
          7        DO_ICALL                                         $5      
          8        ECHO                                                     $5
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.72 ms | 1394 KiB | 15 Q