Hello,
I am just playing with Zend Studio and Zend Framework and have noticed a lot
of warning messages in my framework code. Here is an example:
Zend->Amf->Parse->Amf3->Deserializer.php line 326.
Warning: Assignment in condition
if ($loader = Zend_Amf_Parse_TypeLoader::loadType($className)) {
Isn't that assigning a value to the test instead of testing it for a value?
Unless there is some weird internal thing going on that requires this type
of assignment?
Like I said, I am new to ZF, so maybe this is normal.
BTW, there are like 1,000 of these in my library.
--
View this message in context:
http://n4.nabble.com/Assignment-in-condition-Zend-Framework-Files-tp1471398p1471398.html
Sent from the Zend Framework mailing list archive at Nabble.com.