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)Sape_Users::getUserIdAgg('SEOPULT')); $exclude_seo = array_merge($exclude_seo, (array)Sape_Users::getUserIdAgg('ROOKEE')); var_dump($exclude_seo);
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Class 'Sape_Users' not found in /in/d0YWF:23 Stack trace: #0 {main} thrown in /in/d0YWF on line 23
Process exited with code 255.
Output for 5.0.0 - 5.6.21
Fatal error: Class 'Sape_Users' not found in /in/d0YWF on line 23
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'sape_users' in /in/d0YWF on line 23
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'sape_users' in /in/d0YWF on line 23