<?php $id = '1--2--3'; var_dump(implode('--',array_pop(explode('--',$id))));
You have javascript disabled. You will not be able to edit any code.