[php-src] Issue #7750: string '0.0' evaluates to true

From: Date: Fri, 10 Dec 2021 16:03:57 +0000
Subject: [php-src] Issue #7750: string '0.0' evaluates to true
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238318@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7750 Comment Author: cmb69 Well, that's just long standing behavior; back then it was decided to treat "0" and "" as false, but no other strings. Anyhow, such questions are better asked on StackOverflow etc. :)

« previous php.bugs (#238318) next »