3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "|7|"; $a = array_filter(explode('|', $this->getData('website_id')), function ($el) { if ($el != "") { return true; } return false; }); print_r($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IStEE
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7C7%7C'
    3     1        INIT_FCALL                                               'array_filter'
          2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%7C'
          4        FETCH_THIS                                       $2      
          5        INIT_METHOD_CALL                                         $2, 'getData'
          6        SEND_VAL_EX                                              'website_id'
          7        DO_FCALL                                      0  $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FIStEE%3A3%240'
    9    12        SEND_VAL                                                 ~5
         13        DO_ICALL                                         $6      
    3    14        ASSIGN                                                   !0, $6
   11    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FIStEE%3A3%240:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IStEE
function name:  {closure}
number of ops:  6
compiled vars:  !0 = $el
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        IS_NOT_EQUAL                                             !0, ''
          2      > JMPZ                                                     ~1, ->4
    5     3    > > RETURN                                                   <true>
    8     4    > > RETURN                                                   <false>
    9     5*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FIStEE%3A3%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.03 ms | 1401 KiB | 19 Q