Skip to content

Instantly share code, notes, and snippets.

@augustohp
Forked from alganet/test.md
Created March 21, 2012 16:48
Show Gist options
  • Save augustohp/2149449 to your computer and use it in GitHub Desktop.
Save augustohp/2149449 to your computer and use it in GitHub Desktop.
Sample for Respect\Doc

Example 1:

$math = new Math;
$balance = 12.30;
$deposit = 1.70;
$total = $math->sum($balance, $deposit);
if ($total === 14)
    echo 'Ok';
else
    echo 'Fail';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment