Re: [PHP-DEV] Re: is_*

2002-11-19 Thread Derick Rethans
On Thu, 14 Nov 2002 [EMAIL PROTECTED] wrote:

> What about making FALIASES so it can be found in is_*? Really easier for
> newbies.

We generally don't want to clutter our function namespaces with aliases 
UNLESS there is a very good reason for. 

Derick

-- 

---
 Derick Rethans   http://derickrethans.nl/ 
 JDI Media Solutions
--[ if you hold a unix shell to your ear, do you hear the c? ]-


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




Re: [PHP-DEV] Re: is_*

2002-11-19 Thread nicos
What about making FALIASES so it can be found in is_*? Really easier for
newbies.

M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.

- Original Message -
From: "Hartmut Holzgraefe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002 10:21 AM
Subject: Re: [PHP-DEV] Re: is_*


> [EMAIL PROTECTED] wrote:
> > Okay, some of them are in ctype. But it should be easier to have them in
> > standard so basic user should use them.
>
> ctype is enabled by default in 4.3 ...
>
>
> --
> Six Offene Systeme GmbH http://www.six.de/
> i.A. Hartmut Holzgraefe
> Email: [EMAIL PROTECTED]
> Tel.:  +49-711-99091-77
>


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




Re: [PHP-DEV] Re: is_*

2002-11-14 Thread Hartmut Holzgraefe
[EMAIL PROTECTED] wrote:

What about making FALIASES so it can be found in is_*? Really easier for
newbies.


We want to get rid of function aliases whereever possible,
not generate new ones.

We talked about the naming for the ctype functions back
then when i wrote them and decided not to use is_* as
this would clutter the is_* namespace even more.
(actualy agreement was reached to call them ctype_is_*
 but somehow i didn't get that, but that is a different
 story)


--
Six Offene Systeme GmbH http://www.six.de/
i.A. Hartmut Holzgraefe
Email: [EMAIL PROTECTED]
Tel.:  +49-711-99091-77


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




Re: [PHP-DEV] Re: is_*

2002-11-14 Thread Maxim Maletsky
I was refering about ctype lib :)


--
Maxim Maletsky
[EMAIL PROTECTED]



Maxim Maletsky <[EMAIL PROTECTED]> wrote... :

> even earlier, I though...
> 
> What really needs to be done is to document them better under ereg* and
> preg* and, maybe even, strings sections of documentation. This, I think,
> would give them the required famousity.
> 
> 
> --
> Maxim Maletsky
> [EMAIL PROTECTED]
> 
> 
> 
> Hartmut Holzgraefe <[EMAIL PROTECTED]> wrote... :
> 
> > [EMAIL PROTECTED] wrote:
> > > Okay, some of them are in ctype. But it should be easier to have them in
> > > standard so basic user should use them. 
> > 
> > ctype is enabled by default in 4.3 ...
> > 
> > 
> > -- 
> > Six Offene Systeme GmbH http://www.six.de/
> > i.A. Hartmut Holzgraefe
> > Email: [EMAIL PROTECTED]
> > Tel.:  +49-711-99091-77
> > 
> > 
> > -- 
> > PHP Development Mailing List 
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> 
> -- 
> PHP Development Mailing List 
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


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




Re: [PHP-DEV] Re: is_*

2002-11-14 Thread Maxim Maletsky
even earlier, I though...

What really needs to be done is to document them better under ereg* and
preg* and, maybe even, strings sections of documentation. This, I think,
would give them the required famousity.


--
Maxim Maletsky
[EMAIL PROTECTED]



Hartmut Holzgraefe <[EMAIL PROTECTED]> wrote... :

> [EMAIL PROTECTED] wrote:
> > Okay, some of them are in ctype. But it should be easier to have them in
> > standard so basic user should use them. 
> 
> ctype is enabled by default in 4.3 ...
> 
> 
> -- 
> Six Offene Systeme GmbH http://www.six.de/
> i.A. Hartmut Holzgraefe
> Email: [EMAIL PROTECTED]
> Tel.:  +49-711-99091-77
> 
> 
> -- 
> PHP Development Mailing List 
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


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




Re: [PHP-DEV] Re: is_*

2002-11-14 Thread Hartmut Holzgraefe
[EMAIL PROTECTED] wrote:

Okay, some of them are in ctype. But it should be easier to have them in
standard so basic user should use them. 

ctype is enabled by default in 4.3 ...


--
Six Offene Systeme GmbH http://www.six.de/
i.A. Hartmut Holzgraefe
Email: [EMAIL PROTECTED]
Tel.:  +49-711-99091-77


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




[PHP-DEV] Re: is_*

2002-11-13 Thread nicos
Okay, some of them are in ctype. But it should be easier to have them in
standard so basic user should use them. It would be as easy as is_numeric()
for instance...

M.CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com Hébergement de sites internets.

<[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Hello,
>
> After having helped many users, I just thought of new functions like
> is_alpha, is_alnum, is_valid_email() that we should make so the new user
can
> do valid form with good verification without knowing how ereg() or preg_*
> work. We should think about some another functions too...
>
> Any comment?
>
> P.S: they would be based on the same verification than ereg [[:alnum:]]
> etc..
>
> Regards.
>
> M.CHAILLAN Nicolas
> [EMAIL PROTECTED]
> www.WorldAKT.com Hébergement de sites internets.
>
>
>



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