3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('admin' => array('index','items','logout','orderdelete','orderedit','ajaxbasket','itemsadd','itemsedit','itemsdelete','subcategory','subcategoryedit','subcategoryadd', 'subcategorydelete','brend','brendedit','brendadd','brenddelete','size','sizeedit','sizeadd','sizedelete','color','coloredit','coloradd','colordelete','slide', 'slideedit','slideadd','slidedelete','info','infoedit','infoadd','infodelete','currency','vkcommentsdelete','vkcommentsedit','vkcomments','usersedit','users', 'ajaxitems')); var_dump(return in_array('ajaxitems',$a['admin']));
Output for 5.4.0 - 5.4.22
Parse error: syntax error, unexpected 'return' (T_RETURN), expecting ')' in /in/iA2MS on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_RETURN, expecting ')' in /in/iA2MS on line 7
Process exited with code 255.