3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.55 ms | 1399 KiB | 19 Q