3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = fopen('php://memory', 'w+'); fwrite($f, "T17492-RB\t\"Delta Faucets\"\t"); rewind($f); $fields = fgetcsv($f, 999999, "\t", '"', "\\"); fclose($f); var_dump($fields);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/c2coK
function name:  (null)
number of ops:  27
compiled vars:  !0 = $f, !1 = $fields
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'fopen'
          1        SEND_VAL                                                 'php%3A%2F%2Fmemory'
          2        SEND_VAL                                                 'w%2B'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_FCALL                                               'fwrite'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'T17492-RB%09%22Delta+Faucets%22%09'
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'rewind'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    6    12        INIT_FCALL                                               'fgetcsv'
         13        SEND_VAR                                                 !0
         14        SEND_VAL                                                 999999
         15        SEND_VAL                                                 '%09'
         16        SEND_VAL                                                 '%22'
         17        SEND_VAL                                                 '%5C'
         18        DO_ICALL                                         $6      
         19        ASSIGN                                                   !1, $6
    7    20        INIT_FCALL                                               'fclose'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                                 
    8    23        INIT_FCALL                                               'var_dump'
         24        SEND_VAR                                                 !1
         25        DO_ICALL                                                 
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.33 ms | 1003 KiB | 19 Q