<?php $id = 8; $tmp = $id - ( $id % ( 1000 ^ 1 ) ); var_dump(sprintf('%04d', $tmp));
You have javascript disabled. You will not be able to edit any code.