?php echo "h3 Postincrement / h3"; $a = 5; echo "Should be 5: ". $a+ +." br / \n"; echo "Should be 6: ". $a." br / \n"; echo "h3 Preincrement / h3"; $a = 5; echo "Should be 6: ". ++$a." br / \n"; echo "Should be 6: ". $a." br / \n"; echo "h3 Postdecrement / h3"; $a = 5; echo "Should be 5: ". $a- -." br / \n"; echo "Should be 4: ". $a." br / \n"; echo "h3 Predecrement / h3"; $a = 5; echo "Should be 4: ". --$a." br / \n"; echo "Should be 4: ". $a." br / \n";?
?php echo "lt;h3 gt;Post-incr eacute;mentation lt; / h3 gt ;"; $a = 5; echo "Devrait valoir 5:". $a+ +. "lt;br gt;\n"; echo "Devrait valoir 6:". $a. "lt;br gt;\n"; echo" lt;h3 gt;Pr eacute;-incr eacute;mentation lt; / h3 gt ;"; $a = 5; echo "Devrait valoir 6: ". ++$a." lt;br gt;\n"; echo "Devrait valoir 6: ". $a." lt;br gt;\n"; echo "lt;h3 gt;Post-d eacute;cr eacute;mentation lt; / h3 gt ;"; $a = 5; echo "Devrait valoir 5:". $a- -. "lt;br gt;\n"; echo "Devrait valoir 4:". $a. "lt;br gt;\n"; echo" lt;h3 gt;Pr eacute;-d eacute;cr eacute;mentation lt; / h3 gt ;"; $a = 5; echo "Devrait valoir 4: ". --$a." lt;br gt;\n"; echo "Devrait valoir 4: ". $a." lt;br gt;\n";?