You need something like this.
<?
$i='00052';
$j = '1';
$len = strlen( $i );
printf( "%0${len}d",$i+$j );
?>
Bee careful using numbers with leading zeros. They are OK in a string but if used as a constant, (not in quotes) they will be converted to the octal equiv.
HalfaBee