-
-
Save WPDC/74a377edafc3cd5b4d58 to your computer and use it in GitHub Desktop.
CS0110 3.1 - Variables in Action
This file contains 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
// $unitsSold has the data from the database | |
$totalUnitsSoldInQ4 => array( | |
2014 => $unitsSold[2014][10] + $unitsSold[2014][11], | |
2015 => $unitsSold[2015][10] + $unitsSold[2015][11], | |
); | |
if ( $totalUnitsSoldInQ4[2015] < $totalUnitsSoldInQ4[2014] ) { | |
printReport(); | |
} |
This file contains 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
if ( ( 98180 + 79436 ) < ( 128039 + 90512 ) ) { | |
printReport(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment