Skip to content

Instantly share code, notes, and snippets.

@nathggns
Created August 14, 2011 21:41
Show Gist options
  • Save nathggns/1145346 to your computer and use it in GitHub Desktop.
Save nathggns/1145346 to your computer and use it in GitHub Desktop.
Add numbers with a prefixed 0 together
<?php
echo (int) 01 + (int) 02;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment