3v4l.org

run code in 500+ PHP versions simultaneously
<?php $line = '"A";"Some ""Stuff""";"C"'; $token = str_getcsv($line, ';', '"', '\\'); print_r($token);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e0aX8
function name:  (null)
number of ops:  12
compiled vars:  !0 = $line, !1 = $token
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%22A%22%3B%22Some+%22%22Stuff%22%22%22%3B%22C%22'
    4     1        INIT_FCALL                                                   'str_getcsv'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     '%3B'
          4        SEND_VAL                                                     '%22'
          5        SEND_VAL                                                     '%5C'
          6        DO_ICALL                                             $3      
          7        ASSIGN                                                       !1, $3
    5     8        INIT_FCALL                                                   'print_r'
          9        SEND_VAR                                                     !1
         10        DO_ICALL                                                     
         11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.37 ms | 2595 KiB | 15 Q