3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump( preg_split("/a/u", "a\xff"), preg_match("/a/u", "a\xff", $matches), $matches );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1WYQE
function name:  (null)
number of ops:  15
compiled vars:  !0 = $matches
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
    4     1        INIT_FCALL                                                   'preg_split'
          2        SEND_VAL                                                     '%2Fa%2Fu'
          3        SEND_VAL                                                     'a%FF'
          4        DO_ICALL                                             $1      
          5        SEND_VAR                                                     $1
    5     6        INIT_FCALL                                                   'preg_match'
          7        SEND_VAL                                                     '%2Fa%2Fu'
          8        SEND_VAL                                                     'a%FF'
          9        SEND_REF                                                     !0
         10        DO_ICALL                                             $2      
         11        SEND_VAR                                                     $2
    6    12        SEND_VAR                                                     !0
    3    13        DO_ICALL                                                     
    7    14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
171.57 ms | 3295 KiB | 16 Q