Re: [RFC] Strict type hints (parameter and return value)

From: Date: Thu, 19 Jun 2008 00:30:18 +0000
Subject: Re: [RFC] Strict type hints (parameter and return value)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-38372@lists.php.net to get a copy of this message
Fabrice VIGNALS wrote: > In mathematic, equal meen the same value AND the same nature. > The follow fact could be frustrating : Usually, context is good enough to disambiguate between the cases. The most prevalent convention in programming languages is = is assignment, and == is comparison (PHP adds === only because of its type-juggling system). Other languages have = as comparison, and := as assignment. Donald Knuth uses = as comparison, and a left arrow (<-) for assignment. -- Edward Z. Yang GnuPG: 0x869C48DA HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter [[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]

« previous php.internals (#38372) next »