User "Krinkle" posted a comment on MediaWiki.r75402.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/75402#c16468
Commit summary:

Followup for r75314 (bug 23923) -- regression fix for prefix of '0' being 
ignored since r75314

Don't forget that the string '0' evaluates to false in boolean context!

Comment:

<pre>Don't forget that the string '0' evaluates to false in boolean 
context!</pre>

It does ? I thought 0 would only return as false (as a string) when used with 
<span class=plainlinks>[http://php.net/manual/en/function.empty.php 
empty()]</span>

: http://codepad.org/BdLgET8S

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to