3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tests = array( '1', 1, 'DGame' ); foreach ($tests as $test) { switch (strtolower($test)) { case 1: print 'Xbox 360 Game' . "\r\n"; break; case 2: print 'GFWL' . "\r\n"; break; case 23: print 'Xbox Live Arcade' . "\r\n"; break; case 62: print 'Windows 8' . "\r\n"; break; case 'dgame': print 'Xbox One Game' . "\r\n"; break; case 'dapp': print 'Xbox One App' . "\r\n"; break; } }
Output for git.master, git.master_jit, rfc.property-hooks
Xbox 360 Game Xbox 360 Game Xbox One Game

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:
43.22 ms | 401 KiB | 8 Q