[PHP-DEV] Bug #22651 [Bgs]: mysql_errno/error failing to return a expected error after a failed connect

2003-03-12 Thread Stephen Thorne
ilure, and report the error returned from the failed mysql_connect() - not to look at errors of the currently opened, and therefore default, database. Regards, Stephen Thorne. http://bugs.php.net/?id=22651 ID: 22651 User updated by: craigs at abr dot com dot au Reported By:

Re: [PHP-DEV] iterating objects with interfaces

2003-03-11 Thread Stephen Thorne
All this is starting to feel strangely pythonic. How soon till (''.($_GET['textArea']->strip_tags()).'')->print(); ? Stephen. On Wed, 12 Mar 2003 10:24, Marcus Börger wrote: > At 19:05 10.03.2003, Marcus Börger wrote: > >Standard PHP Library > > Updated version allows: > > class obj_array imple

Re: [PHP-DEV] session_set_save_handler and session_start

2003-02-09 Thread Stephen Thorne
nd presumably a 7th (the original) that you're using in your code. Regards, Stephen Thorne. On Mon, 10 Feb 2003 06:42, michel 'ziobudda' morelli wrote: > Hi, I'm tryng new possibility to set a session handler via class: > &g

Re: [PHP-DEV] Feature Request #5919 case-insensitive version of str_replace()

2003-01-29 Thread Stephen Thorne
ally getting round to investigating this. I've always just believed what the manual says "if you don't need the power of regex, use str_replace instead". I wonder if we should include ereg in our benchmarks too.. Regards Stephen Thorne. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Feature Request #5919 case-insensitive version of str_replace()

2003-01-29 Thread Stephen Thorne
han I thought. Probably deserves a better comparison tho. From these results I'll probably stop yelling at people for using preg_replace when str_replace will do. Regards Stephen Thorne. On Thu, 30 Jan 2003 08:50, Stephen Thorne wrote: > On Thu, 30 Jan 2003 06:48, Ilia A. wrote: > &g

Re: [PHP-DEV] Feature Request #5919 case-insensitive version of str_replace()

2003-01-29 Thread Stephen Thorne
>Stop(); ?> I did quite a few runs and picked the upper and lower end of the results to paste here Biggest difference Total Time: 00:00:03.00 Total Time: 00:00:08.90 Smallest difference Total Time: 00:00:03.12 Total Time: 00:00:06.94 Bearing in mind this is on a pre-working-hours quad hyperthread