3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.01 ms | 1395 KiB | 21 Q