3v4l.org

run code in 300+ PHP versions simultaneously
<?php $region = 93; $cat = 'dacha'; $urls = ['1', '2', '3', 'abc']; $projects['realty' . $region . '_' . $cat . '_search.xml'] = [[ 'type' => 'urls', 'urls' => [ 'http://dacha.ngs93.ru/' => 1, 'http://dacha.ngs93.ru/sell/' => 0.9, 'http://dacha.ngs93.ru/buy/' => 0.3, 'http://dacha.ngs93.ru/rent_available/' => 0.9, 'http://dacha.ngs93.ru/rent_required/' => 0.3, ], ] ]; $project = &$projects['realty' . $region . '_' . $cat . '_search.xml']; var_export($project);
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 'type' => 'urls', 'urls' => array ( 'http://dacha.ngs93.ru/' => 1, 'http://dacha.ngs93.ru/sell/' => 0.9, 'http://dacha.ngs93.ru/buy/' => 0.3, 'http://dacha.ngs93.ru/rent_available/' => 0.9, 'http://dacha.ngs93.ru/rent_required/' => 0.3, ), ), )

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