3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function getUserIdAgg($name) { switch ($name) { case 'SEOPULT': return 337440; case 'EFF': return 579714; case 'ROOKEE': return 1012884; case 'MAREMOTO': return array(502866 /*maremoto*/, 1189998 /*noronvn*/); case 'ALTWEB': return array(134933 /*djblaze*/, 1183395 /*megaindexooo*/); default: return 0; } } $exclude_seo = array(); $exclude_seo = array_merge($exclude_seo, (array)getUserIdAgg('SEOPULT')); $exclude_seo = array_merge($exclude_seo, (array)getUserIdAgg('ROOKEE')); var_dump($exclude_seo);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(2) { [0]=> int(337440) [1]=> int(1012884) }