3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "\xE1\x8D\x9F\x86"; preg_match_all( '/\X/u' , $string , $matches , PREG_SET_ORDER ); print_r($matches); preg_match_all( '/./u' , $string , $matches1 , PREG_SET_ORDER ); print_r($matches1); exit(0);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/jct7E
function name:  (null)
number of ops:  21
compiled vars:  !0 = $string, !1 = $matches, !2 = $matches1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%E1%8D%9F%86'
    5     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%5CX%2Fu'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        SEND_VAL                                                 2
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    9    10        INIT_FCALL                                               'preg_match_all'
         11        SEND_VAL                                                 '%2F.%2Fu'
         12        SEND_VAR                                                 !0
         13        SEND_REF                                                 !2
         14        SEND_VAL                                                 2
         15        DO_ICALL                                                 
   11    16        INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !2
         18        DO_ICALL                                                 
   13    19      > EXIT                                                     0
         20*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.9 ms | 1395 KiB | 17 Q