3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parsing_regex_arguments = '`"((?:\\"|[^"])+)"`'; $test = 'arg1 arg2 "arg3" "test \"2\"" arg4'; $matches = array(); preg_match_all($parsing_regex_arguments, $test, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u1eZR
function name:  (null)
number of ops:  12
compiled vars:  !0 = $parsing_regex_arguments, !1 = $test, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%60%22%28%28%3F%3A%5C%22%7C%5B%5E%22%5D%29%2B%29%22%60'
    6     1        ASSIGN                                                   !1, 'arg1++arg2+%22arg3%22+%22test+%5C%222%5C%22%22+arg4'
    8     2        ASSIGN                                                   !2, <array>
   10     3        INIT_FCALL                                               'preg_match_all'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_REF                                                 !2
          7        DO_ICALL                                                 
   12     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.07 ms | 1394 KiB | 17 Q