Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Carl P. Corliss
Tomas Kuliavas wrote: [snip] Looks like preg_* functions are used more often than ereg* functions to me... preg_quote() and preg_last_error() are support functions. They are used together with other pcre functions. You double some search results. Actually, searching for those by themselves

Re: [PHP-DEV] Why is ereg being deprecated?

2009-10-12 Thread Carl P. Corliss
Lukas Kahwe Smith wrote: [snip] On 12.10.2009, at 18:57, Mark Krenz wrote: On Mon, Oct 12, 2009 at 04:27:02PM GMT, Pierre Joye [pierre@gmail.com] said the following: [snip] But I'm willing to bet that the majority of people are using ereg, not PCRE. I've known about PCRE in PHP for a

Re: [PHP-DEV] [patch] error masks

2009-08-24 Thread Carl P. Corliss
ating the messages even though they were discarded later. Again, I know I'm nobody here but, I really hope you find this patch worth committing - I know I would. Thanks for listening, -- Carl P. Corliss -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Question about superglobals

2007-11-16 Thread Carl P. Corliss
Sam Barrow wrote: Thanks everyone, I knew this, but I didn't want to use runkit because it is a beta, and i don't want all that other stuff, just superglobals. Also, runkit only allows you to use php.ini, but my patch allows you to specify superglobals in your script with the keyword "superglobal

Re: [PHP-DEV] [PATCH] User defined Error Handler's unable to include() class definitions in error handler functions

2006-08-14 Thread Carl P. Corliss
Carl P. Corliss wrote: Carl P. Corliss wrote: Hi all :-) Please forgive my intrusion - I just wanted to submit this patch for a what others and I believe might be a bug . Basically, this patch fixes a problem where, if a class emits an error during declaration (ie: [snip] D'oh -

Re: [PHP-DEV] [PATCH] User defined Error Handler's unable to include() class definitions in error handler functions

2006-08-08 Thread Carl P. Corliss
Carl P. Corliss wrote: Hi all :-) Please forgive my intrusion - I just wanted to submit this patch for a what others and I believe might be a bug . Basically, this patch fixes a problem where, if a class emits an error during declaration (ie: [snip] D'oh - looks like gmane s

[PHP-DEV] [PATCH] User defined Error Handler's unable to include() class definitions in error handler functions

2006-08-08 Thread Carl P. Corliss
ng a user defined error handler, it will store the value of active_class_entry in a temporary variable, and then NULL it, make the call to the error handler, and then restore the value of active_class_entry. Thank you for your time. :-) Cheers!, -- Carl P. Corliss (aka Rabbitt) -- PHP Internals - P

Re: [PHP-DEV] [PATCH] __toString()

2006-01-27 Thread Carl P. Corliss
Thomas Moenicke wrote: [snip] Is there a generic way (for extensions, of course) to override the operators between objects implementing __toString()? [snip] The pecl package 'operator' (http://pecl.php.net/package/operator) sounds like what you might be looking for. Cheers!, -- Carl -- PHP

Re: [PHP-DEV] 23 nothing is so as it seems, but why

2006-01-20 Thread Carl P. Corliss
Jon Dowland wrote: On Thu, Jan 19, 2006 at 06:41:17PM +0200, Marco Kaiser wrote: Today during a session i had a strange "magic" feature found in php. this works perfect as expected. it returns 22. Odd, I expected 21: echo (11 + 10) a = a + 1 nope - discounting the 'unde

Re: [PHP-DEV] why is '01' == '1.'?

2005-12-15 Thread Carl P. Corliss
Greg Beaver wrote: Hi all, I realize that 1 == '01' and 1 == '1.', but why is this next code also bool(true)? http://us3.php.net/manual/en/language.types.string.php#language.types.string.conversion Also, if you want strict type checking, try using === -- Carl -- PHP Internals - PHP