Why $a +1 is not 02 ??

From: Date: Wed, 24 Nov 2004 03:10:41 +0000
Subject: Why $a +1 is not 02 ??
Groups: php.general 
Request: Send a blank email to php-general+get-202740@lists.php.net to get a copy of this message
Hello, I have small problem.. $a = 01; echo $a+1; //this will display 2, instead of 02. How to get 02? thanks. Lab.

« previous php.general (#202740) next »