3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emails = str_replace(' ','','ben@wearejh.com, john@wearejh.com, mike@wearejh.com'); $emails = preg_split('[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+\.[a-zA-Z]+','leowearejh.com'); var_dump($emails);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2DSTf
function name:  (null)
number of ops:  15
compiled vars:  !0 = $emails
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'str_replace'
          1        SEND_VAL                                                 '+'
          2        SEND_VAL                                                 ''
          3        SEND_VAL                                                 'ben%40wearejh.com%2C++++++++++++john%40wearejh.com%2C++++++++++++++++++++++++++++++mike%40wearejh.com'
          4        DO_ICALL                                         $1      
          5        ASSIGN                                                   !0, $1
    3     6        INIT_FCALL                                               'preg_split'
          7        SEND_VAL                                                 '%5B-0-9a-zA-Z.%2B_%5D%2B%40%5B-0-9a-zA-Z.%2B_%5D%2B%5C.%5Ba-zA-Z%5D%2B'
          8        SEND_VAL                                                 'leowearejh.com'
          9        DO_ICALL                                         $3      
         10        ASSIGN                                                   !0, $3
    4    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.82 ms | 1394 KiB | 19 Q