3v4l.org

run code in 300+ PHP versions simultaneously
<?php $results = []; $results[] = ['topic' => 'Command Line']; $results[] = ['topic' => 'Symfony General']; $results[] = ['topic' => 'Dependency Injection']; $results[] = ['topic' => 'Validation']; $results[] = ['topic' => 'Cache']; $results[] = ['topic' => 'Form']; $results[] = ['topic' => 'Doctrine']; var_dump($results); var_dump(iterator_to_array(new \RecursiveIteratorIterator(new \RecursiveArrayIterator($results)), false));
Output for git.master, git.master_jit, rfc.property-hooks
array(7) { [0]=> array(1) { ["topic"]=> string(12) "Command Line" } [1]=> array(1) { ["topic"]=> string(15) "Symfony General" } [2]=> array(1) { ["topic"]=> string(20) "Dependency Injection" } [3]=> array(1) { ["topic"]=> string(10) "Validation" } [4]=> array(1) { ["topic"]=> string(5) "Cache" } [5]=> array(1) { ["topic"]=> string(4) "Form" } [6]=> array(1) { ["topic"]=> string(8) "Doctrine" } } array(7) { [0]=> string(12) "Command Line" [1]=> string(15) "Symfony General" [2]=> string(20) "Dependency Injection" [3]=> string(10) "Validation" [4]=> string(5) "Cache" [5]=> string(4) "Form" [6]=> string(8) "Doctrine" }

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:
57.22 ms | 402 KiB | 8 Q