3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $eligible_categories = array("mens:apparel"); $list_categories = array("mens:apparel:shirts", "mens:footwear"); print_r($eligible_categories); print_r($list_categories)
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected end of file in /in/JNILf on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/JNILf on line 6
Process exited with code 255.