3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = "Helló"; $pattern = '/ló/u'; preg_match($pattern, substr($subject,3), $matches, PREG_OFFSET_CAPTURE);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fNncs
function name:  (null)
number of ops:  13
compiled vars:  !0 = $subject, !1 = $pattern, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Hell%C3%B3'
    4     1        ASSIGN                                                   !1, '%2Fl%C3%B3%2Fu'
    5     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !1
          4        INIT_FCALL                                               'substr'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 3
          7        DO_ICALL                                         $5      
          8        SEND_VAR                                                 $5
          9        SEND_REF                                                 !2
         10        SEND_VAL                                                 256
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.75 ms | 1385 KiB | 17 Q