> Should all these three examples give the same result? > > $ php -r 'var_dump(-1/2*5, 1/-2*5, 1/2*-5);' > float(-2.5) > float(-0.1) > float(-2.5)
They should all give -2.5! But I think "normal programmers" will use braces in such situations... -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php