Created
August 22, 2013 04:41
-
-
Save stevedev/6303288 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ruby: | |
def multiply_by_two(i) | |
i * 2 | |
end | |
// PHP: | |
public function multiply_by_two($i) { | |
return $i * 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment