3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $subcategory = array('0'=>2,'1'=>2); $subcategory = (is_array($subcategory)) ? implode(',', $subcategory) : $subcategory;
Output for 4.3.0 - 7.2.0