3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content="@asdfasdf @你好"; $matches=null; preg_match_all('/@[\S].+? /', $content, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2fQFO
function name:  (null)
number of ops:  11
compiled vars:  !0 = $content, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%40asdfasdf+%40%E4%BD%A0%E5%A5%BD'
    4     1        ASSIGN                                                   !1, null
    5     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAL                                                 '%2F%40%5B%5CS%5D.%2B%3F+%2F'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.65 ms | 1394 KiB | 17 Q