3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v3_1 = array( 'lang' => 'en', // based on client's browser user-agent 'location' => array( // based on client's IP 'countryCode' => 'DE', 'countryName' => 'Germany', 'regionName' => 'North-Rhine-Westphalia', 'cityName' => 'Cologne', ), 'headlines' => array( 'Meet someone for soccer in Cologne today!', 'Find new friends in Cologne who like soccer.', '22,449 people in Cologne want to meet new people for soccer.', ), 'img' => 'http://static.meetone.com/landing/adt/interests/soccer.jpg' ); $v3_2 = array( 'lang' => 'de', // based on client's browser user-agent 'location' => array( // based on client's IP 'countryCode' => 'DE', 'countryName' => 'Deutschland', 'regionName' => 'Bayern', 'cityName' => '', ), 'headlines' => array( 'Treffe heute noch neue Leute zum Fussball in Bayern!', 'Neue Freunde beim Fussball in Bayern finden!', '31,471 Leute in Bayern suchen gerade Leute zum Fussball.', ), 'img' => 'http://static.meetone.com/landing/adt/interests/soccer.jpg' ); print json_encode($v3_1) . PHP_EOL; print json_encode($v3_2);
Output for git.master, git.master_jit, rfc.property-hooks
{"lang":"en","location":{"countryCode":"DE","countryName":"Germany","regionName":"North-Rhine-Westphalia","cityName":"Cologne"},"headlines":["Meet someone for soccer in Cologne today!","Find new friends in Cologne who like soccer.","22,449 people in Cologne want to meet new people for soccer."],"img":"http:\/\/static.meetone.com\/landing\/adt\/interests\/soccer.jpg"} {"lang":"de","location":{"countryCode":"DE","countryName":"Deutschland","regionName":"Bayern","cityName":""},"headlines":["Treffe heute noch neue Leute zum Fussball in Bayern!","Neue Freunde beim Fussball in Bayern finden!","31,471 Leute in Bayern suchen gerade Leute zum Fussball."],"img":"http:\/\/static.meetone.com\/landing\/adt\/interests\/soccer.jpg"}

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