How do you calculate $cup to be equal to 13 by computer calculation?
phpcn_u11218
phpcn_u11218 2017-07-22 22:20:59
0
2
1510

$cup Computer calculation is equal to 13. How to calculate it?

phpcn_u11218
phpcn_u11218

reply all(2)
MOMO

<?php


$x = 5;


$y = ++$x;

$z = $x + $y;

echo "{$z} </ br>";

echo "{$x} </br>";

echo $y;

?>

//You will get a plus sign for $y = ++$x; this code Change to the front and change to the back. Watch for changes. You will understand after thinking about it a few times

Ty80
<?php
$x = 5;
$y = 6;
$foo = $x++ + $x--; //$x和$y不变
$bar = ++$y + ++$x; //$x=6 $y=7
$cup = $x-- + $y--; //$x和$y不变   6+7=13


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template