3v4l.org

run code in 300+ PHP versions simultaneously
<?php $types = ['auto', 'int', 'float', 'string', 'html', 'list', 'pattern']; // echo '('.implode('|', $types).')'; $str = 'fdssdf,565848,sdf,dsf,sdf,новаева,f,sdf'; preg_match_all('/(\w+\,)|\w+/iu', $str, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WIf82
function name:  (null)
number of ops:  11
compiled vars:  !0 = $types, !1 = $str, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, 'fdssdf%2C565848%2Csdf%2Cdsf%2Csdf%2C%D0%BD%D0%BE%D0%B2%D0%B0%D0%B5%D0%B2%D0%B0%2Cf%2Csdf'
    6     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAL                                                 '%2F%28%5Cw%2B%5C%2C%29%7C%5Cw%2B%2Fiu'
          4        SEND_VAR                                                 !1
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.8 ms | 1394 KiB | 17 Q