Incrémenter et assigner en même temps

Author:


Download

<?php
$prix=50;
// Ajouter 3 au prix intial
$prix = $prix + 3;
// opération précédente peut s''écrire comme ça
$prix += 3;
?>

Leave a Reply

Your email address will not be published. Required fields are marked *


nine − = 5