Hello,

check it in the manual: http://www.php.net/manual/en/function.ereg.php

If you don't pass the third -- optional -- argument, then it's true.
Otherwise not.

I don't know this book, but you may keep in my mind that PHP is evolving,
so the online manual can be its most up-to-date documentation.

----- Original Message -----
From: js <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 02, 2001 3:05 AM
Subject: [PHP] ereg question


> In the Leon Atkinson Core PHP book, in his ereg example he states that
ereg
> will only return the first match on a line.  Can anyone confirm or deny
this?
>
> Thanks,
> Josh
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to