3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s2=<<<EOD Year,Make,Model,Description,Price 1997,Ford,E350,"ac, abs, moon",3000.00 1999,Chevy,"Venture ""Extended Edition""","",4900.00 1999,Chevy,"Venture ""Extended Edition, Very Large""","",5000.00 1996,Jeep,Grand Cherokee,"MUST SELL! ""TODAY"" air, moon roof, loaded",4799.00 EOD; $lines=str_getcsv($s2,"\n"); print_r($lines);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HAJh1
function name:  (null)
number of ops:  10
compiled vars:  !0 = $s2, !1 = $lines
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Year%2CMake%2CModel%2CDescription%2CPrice%0A1997%2CFord%2CE350%2C%22ac%2C+abs%2C+moon%22%2C3000.00%0A1999%2CChevy%2C%22Venture+%22%22Extended+Edition%22%22%22%2C%22%22%2C4900.00%0A1999%2CChevy%2C%22Venture+%22%22Extended+Edition%2C+Very+Large%22%22%22%2C%22%22%2C5000.00%0A1996%2CJeep%2CGrand+Cherokee%2C%22MUST+SELL%21+%22%22TODAY%22%22%0Aair%2C+moon+roof%2C+loaded%22%2C4799.00'
   12     1        INIT_FCALL                                               'str_getcsv'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%0A'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
   13     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.3 ms | 1394 KiB | 17 Q