3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all('/[\x{0080}-\x{ffff}]/u', 'café åäö', $matches, PREG_OFFSET_CAPTURE); var_dump($matches, unpack('N', 'é'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s8jNf
function name:  (null)
number of ops:  15
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'preg_match_all'
          1        SEND_VAL                                                 '%2F%5B%5Cx%7B0080%7D-%5Cx%7Bffff%7D%5D%2Fu'
          2        SEND_VAL                                                 'caf%C3%A9+%C3%A5%C3%A4%C3%B6'
          3        SEND_REF                                                 !0
          4        SEND_VAL                                                 256
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        INIT_FCALL                                               'unpack'
          9        SEND_VAL                                                 'N'
         10        SEND_VAL                                                 '%C3%A9'
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.01 ms | 1394 KiB | 19 Q