3v4l.org

run code in 200+ PHP versions simultaneously
<?php $line = '"A";"Some ""Stuff""";"C"'; $token = str_getcsv($line, ';', '"', '\\'); print_r($token);
based on uF8kb

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch php-master
Array ( [0] => A [1] => Some "Stuff" [2] => C )
Output for branch php-master+opcache
Array ( [0] => A [1] => Some "Stuff" [2] => C )
Output for branch php-master+jit
Array ( [0] => A [1] => Some "Stuff" [2] => C )
Output for Typed properties v2
Array ( [0] => A [1] => Some "Stuff" [2] => C )

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page