3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'foo, bar,leo , light,, seo'; $a = explode(',', $str); $a = array_filter(array_map('trim', $recipients)); var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WMIv4
function name:  (null)
number of ops:  18
compiled vars:  !0 = $str, !1 = $a, !2 = $recipients
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'foo%2C+bar%2Cleo+%2C+light%2C%2C+seo'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2C'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    4     6        INIT_FCALL                                               'array_filter'
          7        INIT_FCALL                                               'array_map'
          8        SEND_VAL                                                 'trim'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                         $6      
         11        SEND_VAR                                                 $6
         12        DO_ICALL                                         $7      
         13        ASSIGN                                                   !1, $7
    5    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.5 ms | 1394 KiB | 21 Q