3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v2_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 Pamela in Cologne today!', 'Start chatting with Pamela from Cologne now!', 'Pamela from Cologne is looking for new friends on meetOne!' ), 'img' => 'http://static.meetone.com/landing/adt/cities/de/koeln.jpg' ); $v2_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( 'Heute noch Pamela aus Bayern kennenlernen.', 'Lerne noch heute Pamela aus Bayern kennen.', 'Pamela aus Bayern sucht neue Freunde auf meetOne!' ), 'img' => 'http://static.meetone.com/landing/adt/regions/de/bayern.jpg' ); print json_encode($v2_1) . PHP_EOL; print json_encode($v2_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 Pamela in Cologne today!","Start chatting with Pamela from Cologne now!","Pamela from Cologne is looking for new friends on meetOne!"],"img":"http:\/\/static.meetone.com\/landing\/adt\/cities\/de\/koeln.jpg"} {"lang":"de","location":{"countryCode":"DE","countryName":"Deutschland","regionName":"Bayern","cityName":""},"headlines":["Heute noch Pamela aus Bayern kennenlernen.","Lerne noch heute Pamela aus Bayern kennen.","Pamela aus Bayern sucht neue Freunde auf meetOne!"],"img":"http:\/\/static.meetone.com\/landing\/adt\/regions\/de\/bayern.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:
65.21 ms | 402 KiB | 8 Q