3v4l.org

run code in 500+ PHP versions simultaneously
<?php $p = 'Dummy text more dummy text after some lines even more dummy text'; $arr = array_filter(preg_split('/(\r\n|\n|\r)/', $p)); print_r($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2aMNN
function name:  (null)
number of ops:  13
compiled vars:  !0 = $p, !1 = $arr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'Dummy+text%0A%0A+%0Amore+dummy+text+after+some+lines%0A%0A+%0A%0Aeven+more+dummy+text'
   11     1        INIT_FCALL                                                   'array_filter'
          2        INIT_FCALL                                                   'preg_split'
          3        SEND_VAL                                                     '%2F%28%5Cr%5Cn%7C%5Cn%7C%5Cr%29%2F'
          4        SEND_VAR                                                     !0
          5        DO_ICALL                                             $3      
          6        SEND_VAR                                                     $3
          7        DO_ICALL                                             $4      
          8        ASSIGN                                                       !1, $4
   12     9        INIT_FCALL                                                   'print_r'
         10        SEND_VAR                                                     !1
         11        DO_ICALL                                                     
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
155.85 ms | 2205 KiB | 16 Q