When c like languages say so
$a = 5; $b = 1; $result = $a---$b; echo $a; #=>4 echo $b; #=>1 echo $result; #=>4
public class FunMaths{ public static void main(String[] args) { int result; int a = 5, b = 1; result = a---b; System.out.println(a); System.out.println(b); System.out.println(result); } }
Related posts:
- Orms and Circular References
- Trollin Oracle
- PHP Functions, you’re doing it wrong…
- Making isset Recursive
- Documenting PHP Code
Tags: Chain-of-responsibility pattern, Class, Computer programming, Computing, Software design patterns, Software engineering, Variable shadowing