3v4l.org

run code in 300+ PHP versions simultaneously
<?php $csv = <<<CSV id: 10, location: Canada, people: 12 id: 10, location: United States, people: 15 id: 15, location: England, people: 19 id: 16, location: India, people: 20 id: 16, location: Germany, people: 9 CSV; var_export($csv); echo "\n---\n"; var_export( preg_replace( '/(^id: (\d+),.+)(?:\Rid: \2,.+)+/m', '$1', $csv ) );
Output for git.master, git.master_jit, rfc.property-hooks
'id: 10, location: Canada, people: 12 id: 10, location: United States, people: 15 id: 15, location: England, people: 19 id: 16, location: India, people: 20 id: 16, location: Germany, people: 9' --- 'id: 10, location: Canada, people: 12 id: 15, location: England, people: 19 id: 16, location: India, people: 20'

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:
114.35 ms | 406 KiB | 5 Q