3v4l.org

run code in 300+ 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:  14
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        INIT_FCALL                                               'trim'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        SEND_VAL                                                 -1
          9        SEND_VAL                                                 1
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.51 ms | 1006 KiB | 17 Q