Created
April 20, 2017 20:18
-
-
Save geekcom/6b9ac4a5e07f5fe3f9849568b5c84d59 to your computer and use it in GitHub Desktop.
php7_dia3
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
<?php | |
$a = 3 * 3 % 5; // (3 * 3) % 5 = 4 | |
$a = 2 - 2 * 6 + 4; // 2 - (2 * 6) + 4 = 2 - 12 + 4 = -10 + 4 = -6 | |
$a = 1; | |
$b = 2; | |
$a = $b += 3; // $a = ($b += 3) -> $a = 5, $b = 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment