Robert Deaton wrote:
On 1/29/06, James Crane <[EMAIL PROTECTED]> wrote:

Then why don't we have these:

$i = integer(5);
$f = float(4.5);
$s = string("foo");


Perhaps because any sane person will know without reading a manual,
that " delimits a string, a number without a decimal is an integer,
and a number with a decimal is a floating point number.

In the same way that any sane person would know that array() indicates an array?

J

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

Reply via email to