AW: [PHP-DEV] Re: PHP 4.0 Bug #8975 Updated: modulo (%) sets the ritht operator to the result
| From: | Harald Radi | Date: | Wed, 31 Jan 2001 09:42:22 +0000 |
| Subject: | AW: [PHP-DEV] Re: PHP 4.0 Bug #8975 Updated: modulo (%) sets the ritht operator to the result | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-45437@lists.php.net to get a copy of this message | ||
>
> I did'n know that '=' operator has higher priority than '%'.
> Is it assumed ?
> Is the example correct ?
the % thing is done before the assignment, otherwise $i would be divided by
true and the % would always return 0.
harald
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>