Compartmentalised refractory.
Code re use.
Extensibility, flexibility and adaptability.
Better for terms development.
Many pattern have for oop.
php best practice programming example with globle keyword <?php $a = 0; $b = 2; function s() { global $a; $a += 1 ; return $a; } function m() { global $a; $a -= 1 ; return $a; } s(); m(); s(); s(); s(); s(); s(); s(); m(); echo $a; ?>
Comments
Post a Comment