> Can anyone explain clearly why comparing a string
> with zero gives this apparently anomalous result?

<?php
$string = 'oleyphoont';
var_dump((int)$string, $string == 0, $string == 1);
?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to