3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '"dhcp-class-identifier ""Wireless Broadband R,outer""", "dhcp-client-identifier """"", "host-name ""Wireless_Broadband_Router""", "domain-name ""home"""'; $options = str_getcsv($string, ',', '"', '\\'); foreach ($options as $option) { $send_options .= "\tsend " . trim($option) . ";\n"; } echo $send_options;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $send_options in /in/c93T0 on line 7 send dhcp-class-identifier "Wireless Broadband R,outer"; send dhcp-client-identifier ""; send host-name "Wireless_Broadband_Router"; send domain-name "home";

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

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


preferences:
60.48 ms | 401 KiB | 8 Q