3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( '057.ua'=>array('name' => '', 'name_genitive' => '', 'name_locative' => '', 'name_en' => '','people' => '','people_genitive' => ''), ); foreach($arr as $k => $v ){ $s = serialize($v); echo "UPDATE `citysites`.`cis_sites` SET `city_names` = '".$s."' WHERE `url` = 'www.".$k."';".PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
UPDATE `citysites`.`cis_sites` SET `city_names` = 'a:6:{s:4:"name";s:0:"";s:13:"name_genitive";s:0:"";s:13:"name_locative";s:0:"";s:7:"name_en";s:0:"";s:6:"people";s:0:"";s:15:"people_genitive";s:0:"";}' WHERE `url` = 'www.057.ua';

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