Re[2]: regex and global vars problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Friday, October 28, 2005, 7:20:58 PM, you wrote:
RV> On 10/28/05, Tom Rogers <trogers@xxxxxxxxxx> wrote:
>>
>> I would do it with a small class like this:

RV> $mactest  = new mac("there are a few gotchas for anyone using this");
print $mactest->>is_valid ? "valid\n" : "invalid\n";

RV> // valid

RV> --
RV> PHP General Mailing List (http://www.php.net/)
RV> To unsubscribe, visit: http://www.php.net/unsub.php


It does reduce to a valid mac address (EE:AE:AF:EC:AF:AE) :)
-- 
regards,
Tom

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux