Re: type hinting

From: Date: Sun, 06 Jan 2008 21:08:16 +0000
Subject: Re: type hinting
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-34548@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pierre wrote: | That can be a good compromise and may make happy the cons camp. | However, I would not like to have "11an" returns 0 but raises an | error. I can live with "[0-1.]" being converted to integer or float as | it is the case now. Even I would rather prefer a strict hinting and | let the user of a method or function do the cast (for the reasons | explained numerous times in this thread). Having yet another way of conversion which is different from any existing one in PHP scares me really ... - - Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHgUNA1nS0RcInK9ARAn7HAJwOkKdwn/GnghIWtbDP1BTKhPoGAgCgkq3S Bxs/zbSOlVc4EZtb6O1U23Q= =KJvJ -----END PGP SIGNATURE-----

« previous php.internals (#34548) next »