RE: [PHP-DEV] feature proposal: string types (complete with
| From: | Dan Hardiker | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | RE: [PHP-DEV] feature proposal: string types (complete with | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83592@lists.php.net to get a copy of this message | ||
Would the be room for compromise then? A flux state where additional types
could be defined on the fly?
eg: currently you can type cast to a string, integer, boolean etc.
Why not add the ability to define an extra type and then cast to it. Then
there is the option / flexability there, but not the required usage of.
--
Dan Hardiker [dhardiker@staff.firstcreative.net]
ADAM Software & Systems Engineer
First Creative Ltd
>> -----Original Message-----
>> From: vdhome@idas.cz [mailto:vdhome@idas.cz]
>> Sent: 02 May 2002 05:19
>>
>> I propose a feature that I call "string types".
>
> -maxint.
>
> A string is a string is a string. It's up to the script to know what
> it's being used for and what state it's in. This has too many echoes
> of magic_quotes for my liking.
>
> Cheers!
>
> Mike
>
> ---------------------------------------------------------------------
> Mike Ford, Electronic Information Services Adviser,
> Learning Support Services, Learning & Information Services,
> JG125, James Graham Building, Leeds Metropolitan University,
> Beckett Park, LEEDS, LS6 3QS, United Kingdom
> Email: m.ford@lmu.ac.uk
> Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php