3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_quote('(?:"?([^"]*)"?\s)?(?:<?(.+@[^>]+)>?)'); preg_match_all('(?:"?([^"]*)"?\s)?(?:<?(.+@[^>]+)>?)', 'Eric Peterson <foo@example.com>', $matches); print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j4K2l
function name:  (null)
number of ops:  13
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_quote'
          1        SEND_VAL                                                 '%28%3F%3A%22%3F%28%5B%5E%22%5D%2A%29%22%3F%5Cs%29%3F%28%3F%3A%3C%3F%28.%2B%40%5B%5E%3E%5D%2B%29%3E%3F%29'
          2        DO_ICALL                                         $1      
          3        ECHO                                                     $1
    5     4        INIT_FCALL                                               'preg_match_all'
          5        SEND_VAL                                                 '%28%3F%3A%22%3F%28%5B%5E%22%5D%2A%29%22%3F%5Cs%29%3F%28%3F%3A%3C%3F%28.%2B%40%5B%5E%3E%5D%2B%29%3E%3F%29'
          6        SEND_VAL                                                 'Eric+Peterson+%3Cfoo%40example.com%3E'
          7        SEND_REF                                                 !0
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
257.08 ms | 1394 KiB | 20 Q