3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Marcelo Monteiro Custodio'; $email = 'marcelocustodiogmail.com'; print_r(preg_split('/\s/', email)); $a = filter_var($string, FILTER_VALIDATE_EMAIL); var_dump($a); foreach(preg_split('/\s/', $string) as $token) { echo $token . ' - '; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 23, Position 2 = 27
Branch analysis from position: 23
2 jumps found. (Code = 78) Position 1 = 24, Position 2 = 27
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
filename:       /in/f2dQi
function name:  (null)
number of ops:  29
compiled vars:  !0 = $string, !1 = $email, !2 = $a, !3 = $token
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Marcelo+Monteiro+Custodio'
    4     1        ASSIGN                                                   !1, 'marcelocustodiogmail.com'
    6     2        INIT_FCALL                                               'print_r'
          3        INIT_FCALL                                               'preg_split'
          4        SEND_VAL                                                 '%2F%5Cs%2F'
          5        FETCH_CONSTANT                                   ~6      'email'
          6        SEND_VAL                                                 ~6
          7        DO_ICALL                                         $7      
          8        SEND_VAR                                                 $7
          9        DO_ICALL                                                 
    8    10        INIT_FCALL                                               'filter_var'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 274
         13        DO_ICALL                                         $9      
         14        ASSIGN                                                   !2, $9
    9    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                                 
   11    18        INIT_FCALL                                               'preg_split'
         19        SEND_VAL                                                 '%2F%5Cs%2F'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                         $12     
         22      > FE_RESET_R                                       $13     $12, ->27
         23    > > FE_FETCH_R                                               $13, !3, ->27
   12    24    >   CONCAT                                           ~14     !3, '+-+'
         25        ECHO                                                     ~14
   11    26      > JMP                                                      ->23
         27    >   FE_FREE                                                  $13
   13    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.2 ms | 1396 KiB | 21 Q