$n2 is a string value of the number one. What happens if, during a more complex computation an incorrect value is store to $n2, lets say an alphabetic character?
The value would be interpreted as a zero and the result would be wrong.

If you change data, result changes - surprise! If you set $n2 to 42, result would be wrong too, if by right you mean $n2 being 1 and not 42. How it has anything to do with static typing?
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to