3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $item_id = array('49408625ZX06-07ZXZX2015ZXZX', '2015', '06-07'); echo "Separate args: " . implode('/', array_map('base64_encode', $item_id)); echo "\n"; echo " Joined args: " . base64_encode(implode('|', $item_id));
based on SDUKo
Output for 5.3.19 - 7.2.6
Separate args: NDk0MDg2MjVaWDA2LTA3WlhaWDIwMTVaWFpY/MjAxNQ==/MDYtMDc= Joined args: NDk0MDg2MjVaWDA2LTA3WlhaWDIwMTVaWFpYfDIwMTV8MDYtMDc=