3v4l.org

run code in 300+ PHP versions simultaneously
<?php $raw = <<<CSV ID,Product Category ID,Product Line ID,Group ID (Group Name),Name,URL,Description,Legacy,Image 1,Image 2,Download ID for Legacy and Accessories,Tweeter,Midrange,Woofer,Sat,Radiating Surface,Driver System,Frequency Response,Impedance,Dispersion,Power Handling,Directivity Factor,Directivity Index,Transformer Taps,Max SPL:,Sensitivity,Enclosure Material,Baffle Material,Input Termination,Certifications,Crossover Frequency,Adjustments,Finish,Overload Protection,Environment Temperature,Speaker Depth," Finished Depth (with speaker) "," Finished Hole Siz",Product Weight,Shipping Weight,Dimensions (Diameter),Speaker Dimensions w/ Sq. Adaptor,Cut-Out Dimensions (Diameter),Dimensions (W x H ),Cut-Out Dimensions (W x H ),Dimensions (WxHxD),Dimensions,Grille Material,Grille Dimensions (W x H),Included Accessories,Available Colors,Installation Best Practice,Number Of Channels,Power Output All Channels Driven,Power Output (Bridged),Load Impedance Dual Bridge Mono,Voltage Gain,Frequency Response,Dynamic Headroom,Total Harmonic Distortion,I.M. Distortion (SMPTE 4:1),Signal To Noise Ratio,Damping Factor (8 Ohm),Input Stage,Input Sensitivity,Auto-On Trigger Sensitivity:,Inputs,Outputs,Input Impedance,Max Source Input Voltage,Crosstalk (Below Rated Power) 20 Hz To 1 KHz,Loop Output Impedance (Buffered),Serial Protocol (RS-232 Connection),Equalization Presets,Controls,BBE Control,BBE Settings,High-Pass Filter Characteristics,Line Level Out Hi-Pass Filter,Low-Pass Crossover Freq:,Protection Circuitry,Power Consumption,AC Fuse,Speaker Fuse,AC Line Voltage And Frequency Configurations Available (± 10%),Operating Temperature,Heat Output,Ventilation,Cooling,Available Options,Certifications,Dimensions With Feet (WxHxD),RMF Dimensions No Feet (WxHxD),Rack Space Requirement,Design,Function,Feature,Volume Control,Total Attenuation,Attenuation Steps,Protection Circuitry,Speaker Impedance,Ground Paths,Input Connections,Output Connections,Compatibility,Series Resistors,Power Requirements,Coaxial Power Jack,Lead Termination,Wire Length,Shell Housing,LED,Nominal Reception Angle,IR Carrier Frequency Bandwidth,Reception Range,IR Connections,Mode,Long Cable Requirements,Maximum Current Output,Power,Speaker Impedance' CSV; $columns = str_getcsv($raw); foreach( $colulmns AS $column ) { echo $column . '<br />'; } //print_r( );
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Warning: Undefined variable $colulmns in /in/FSm8n on line 10 Warning: foreach() argument must be of type array|object, null given in /in/FSm8n on line 10
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Notice: Undefined variable: colulmns in /in/FSm8n on line 10 Warning: Invalid argument supplied for foreach() in /in/FSm8n on line 10
Output for 7.3.32 - 7.3.33
Warning: Invalid argument supplied for foreach() in /in/FSm8n on line 10
Output for 5.0.0 - 5.0.5, 5.1.1, 5.1.3 - 5.1.6, 5.2.0 - 5.2.17
Fatal error: Call to undefined function str_getcsv() in /in/FSm8n on line 8
Process exited with code 255.
Output for 5.1.2
Fatal error: Call to undefined function str_getcsv() in /in/FSm8n on line 9
Process exited with code 255.
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/FSm8n on line 15
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: str_getcsv() in /in/FSm8n on line 8
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.1, 4.4.3 - 4.4.4
Fatal error: Call to undefined function: str_getcsv() in /in/FSm8n on line 8
Process exited with code 255.
Output for 4.4.2
Fatal error: Call to undefined function: str_getcsv() in /in/FSm8n on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: str_getcsv() in /in/FSm8n on line 8

preferences:
320.95 ms | 401 KiB | 450 Q