Skip to content

Instantly share code, notes, and snippets.

@djaney
Last active December 26, 2015 16:09
Show Gist options
  • Save djaney/7178347 to your computer and use it in GitHub Desktop.
Save djaney/7178347 to your computer and use it in GitHub Desktop.
<?php
$apples = 10;
$oranges = 20;
$bananas = 5;
$totalFruits = $apples + $oranges + $bananas;
?>
There are <?php echo $totalFruits ?> fruits in total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment