3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r( str_getcsv("'foo' , 'bar' , ' baz '") ); print_r( str_getcsv("'foo' \t 'bar' \t ' baz '", "\t") );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fhijC
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'print_r'
    3     1        INIT_FCALL                                               'str_getcsv'
          2        SEND_VAL                                                 '%27foo%27+%2C+%27bar%27+%2C+%27+baz+%27'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'print_r'
    6     7        INIT_FCALL                                               'str_getcsv'
          8        SEND_VAL                                                 '%27foo%27+%09+%27bar%27+%09+%27+baz+%27'
          9        SEND_VAL                                                 '%09'
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        DO_ICALL                                                 
    7    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.62 ms | 1394 KiB | 17 Q