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, pack('n', mb_convert_encoding('é', 'UCS-4BE', 'UTF-8')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UZukd
function name:  (null)
number of ops:  20
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                                               'pack'
          9        SEND_VAL                                                 'n'
         10        INIT_FCALL                                               'mb_convert_encoding'
         11        SEND_VAL                                                 '%C3%A9'
         12        SEND_VAL                                                 'UCS-4BE'
         13        SEND_VAL                                                 'UTF-8'
         14        DO_ICALL                                         $2      
         15        SEND_VAR                                                 $2
         16        DO_ICALL                                         $3      
         17        SEND_VAR                                                 $3
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.75 ms | 1386 KiB | 21 Q