3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = " , Number1 , 234, 0 , internal space , 4heaven's-sake , "; var_export( preg_split ('/ *,+ */', $str, 0, PREG_SPLIT_NO_EMPTY) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9ePPV
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '+%2C+Number1+%2C+++++234%2C+++++0+%2C+internal+space+%2C+4heaven%27s-sake++%2C++'
    4     1        INIT_FCALL                                                   'var_export'
    5     2        INIT_FCALL                                                   'preg_split'
          3        SEND_VAL                                                     '%2F+%2A%2C%2B+%2A%2F'
          4        SEND_VAR                                                     !0
          5        SEND_VAL                                                     0
          6        SEND_VAL                                                     1
          7        DO_ICALL                                             $2      
          8        SEND_VAR                                                     $2
    4     9        DO_ICALL                                                     
    6    10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
272.87 ms | 1874 KiB | 15 Q