3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = " Object One Object Two Object Three Object Four Object Five Object Six "; var_export(preg_split('~\s*\R\s*~', trim($string), -1, PREG_SPLIT_NO_EMPTY));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aMhGt
function name:  (null)
number of ops:  12
compiled vars:  !0 = $string
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '+Object+One%0A%0A%0A++++Object+Two%0A%0A%0A++++Object+Three%0A%0A++++Object+Four%0A+++++++++++Object+Five%0A%0A++++Object+Six++'
   16     1        INIT_FCALL                                                   'var_export'
          2        INIT_FCALL                                                   'preg_split'
          3        SEND_VAL                                                     '%7E%5Cs%2A%5CR%5Cs%2A%7E'
          4        FRAMELESS_ICALL_1                trim                ~2      !0
          5        SEND_VAL                                                     ~2
          6        SEND_VAL                                                     -1
          7        SEND_VAL                                                     1
          8        DO_ICALL                                             $3      
          9        SEND_VAR                                                     $3
         10        DO_ICALL                                                     
         11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
205.58 ms | 1995 KiB | 15 Q