Taking the following script:

<?php
$array = array("foo" => true,
               "bar" => false
               );
               
print_r($array);
?>

The result of print_r is:

        Array ( [foo] => 1 [bar] => ) 

Shouldn't false in the array definition result to 0 instead of
nothing?

- Martin

-- 
  Martin Jansen, <[EMAIL PROTECTED]>
  http://www.martin-jansen.de/



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to