Created
November 9, 2017 16:27
-
-
Save akuikialie/7d3eed2ee611cb7950bd0f90ce85ae1a to your computer and use it in GitHub Desktop.
Learn Operator Arithmetic On PHP
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
<?php | |
/** | |
* Short description for test-variable-php.php | |
* | |
* @package operator-arithmetic.php | |
* @author Akku Iki Alie <[email protected]> | |
* @version 0.1 | |
* @copyright (C) 2017 Akku Iki Alie <[email protected]> | |
* @license Shoop E-Commerce License | |
*/ | |
$i = 0; | |
/* Kondisi 1 */ | |
/*$i = 1; | |
++$i += 1; */ | |
/* Kondisi 2 */ | |
/*$i = 1; | |
++$i = 1; */ | |
/* Kondisi 3 */ | |
/*$i = 1; | |
++$i; | |
+= 1;*/ | |
var_dump($i); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment