\[code\]// today is 03 Jan 2009$datemonth = (int) date("md");if($datemonth == 0103){ echo "Match";} else { echo "Not a match";}\[/code\]I am receiving \[code\]Not a match\[/code\] as result. Isn't 0103 equal to 103 when compared as integer? In this situation I can use \[code\]if($datemonth == 103)\[/code\] for the intended behaviour. But why the logic is failing? A leading zero does not have any value in an integer, right?