3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = "\r\n\r\n\n\n\r\rsalam\r\nman khobam\rto chi\n\rche khabar\n\r\n\n\r\r\n\nbashe baba raftam\r\n\r\n\r\n\r\n"; var_export(preg_split('~\R+~', $a, 0, PREG_SPLIT_NO_EMPTY));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cv9KR
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%0D%0A%0D%0A%0A%0A%0D%0Dsalam%0D%0Aman+khobam%0Dto+chi%0A%0Dche+khabar%0A%0D%0A%0A%0D%0D%0A%0Abashe+baba+raftam%0D%0A%0D%0A%0D%0A%0D%0A'
    4     1        INIT_FCALL                                                   'var_export'
          2        INIT_FCALL                                                   'preg_split'
          3        SEND_VAL                                                     '%7E%5CR%2B%7E'
          4        SEND_VAR                                                     !0
          5        SEND_VAL                                                     0
          6        SEND_VAL                                                     1
          7        DO_ICALL                                             $2      
          8        SEND_VAR                                                     $2
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
179.19 ms | 3356 KiB | 15 Q