3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p = 'Dummy text more dummy text after some lines even more dummy text '; $arr = preg_split('/[\r\n]+\s*/', $p, -1, PREG_SPLIT_NO_EMPTY); print_r($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VhYWV
function name:  (null)
number of ops:  12
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%0A'
   12     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%2F%5B%5Cr%5Cn%5D%2B%5Cs%2A%2F'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 -1
          5        SEND_VAL                                                 1
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !1, $3
   13     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.87 ms | 1398 KiB | 17 Q