3v4l.org

run code in 500+ PHP versions simultaneously
<?php $csv = '"Stock Number","product","title","size","description","price" "195642","T-Shirt","100% cotton classic fit","XL","Cotton shirts breathe better than clothing made with synthetic materials, and are less prone to retaining odors and losing shape.We offer a wide variety of cotton t-shirts from leading brands such as Fruit of the Loom, Hanes, New Balance, and more.","6.99"'; $array= str_getcsv($csv); print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JE8fK
function name:  (null)
number of ops:  9
compiled vars:  !0 = $csv, !1 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '%22Stock+Number%22%2C%22product%22%2C%22title%22%2C%22size%22%2C%22description%22%2C%22price%22%0A%22195642%22%2C%22T-Shirt%22%2C%22100%25+cotton+classic+fit%22%2C%22XL%22%2C%22Cotton+shirts+breathe+better+than+clothing+made+with+synthetic+materials%2C+and+are+less+prone+to+retaining+odors+and+losing+shape.We+offer+a+wide+variety+of+cotton+t-shirts+from+leading+brands+such+as+Fruit+of+the+Loom%2C+Hanes%2C+New+Balance%2C+and+more.%22%2C%226.99%22'
    4     1        INIT_FCALL                                                   'str_getcsv'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                             $3      
          4        ASSIGN                                                       !1, $3
    5     5        INIT_FCALL                                                   'print_r'
          6        SEND_VAR                                                     !1
          7        DO_ICALL                                                     
          8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.72 ms | 2206 KiB | 15 Q