[PHP-DEV] Re: [PATCH] mysqli #35203 / #48065 Eliminate special case for calling procedures in mysqli

2009-04-26 Thread Andrey Hristov
Hi, could you show how you want to express that in PHP code that will work with calling prepared statements. How the API should work? (Example PHP code that uses the new API). Best, Andrey Michael G Schwern wrote: This is a patch against 5.2.9 to fix mysqli::query so a user can call stored

Re: [PHP-DEV] GCC 4.4.0

2009-04-26 Thread Sebastian Bergmann
Nuno Lopes schrieb: This particular problem should be fixed now. Let me know if PHP still crashes for you. It is fixed, thanks! -- Sebastian BergmannCo-Founder and Principal Consultant http://sebastian-bergmann.de/ http://thePHP.cc/ -- PHP

[PHP-DEV] Re: [PATCH] mysqli #35203 / #48065 Eliminate special case for calling procedures in mysqli

2009-04-26 Thread Michael G Schwern
Andrey Hristov wrote: could you show how you want to express that in PHP code that will work with calling prepared statements. How the API should work? (Example PHP code that uses the new API). Sorry, I don't understand what you're asking. There is no changes to the mysqli API in this patch,

[PHP-DEV] question about bug #47759

2009-04-26 Thread Carsten Wiedmann
Hallo all, please can someone of the devs enlighten me (and others), why #47759 [1] is not a bug (bogus)? But just follow me through the manual: a) at file_get_contents [2] I can read: | context | A valid context resource created | with stream_context_create(). b) at the context main page [3] I

Re: [PHP-DEV] question about bug #47759

2009-04-26 Thread Hannes Magnusson
On Sun, Apr 26, 2009 at 14:05, Carsten Wiedmann carsten_st...@gmx.de wrote: Hallo all, please can someone of the devs enlighten me (and others), why #47759 [1] is not a bug (bogus)? [..] As you can see, this does not work as aspected, because something does not understand the HTTP/1.1

[PHP-DEV] strtotime leak, bug #47285

2009-04-26 Thread Martin Koch Andersen
Hi, strtotime() has been leaking memory for quite a while now. First there was: http://bugs.php.net/bug.php?id=46889 Now there is: http://bugs.php.net/bug.php?id=47285 There are proposed patches in the latter bug-report. Seems like progress on fixing this has kind of stalled. In certain use

[PHP-DEV] get_called_class returns empty on spl_autoload*

2009-04-26 Thread Pablo Fischer
Hello, Was playing with get_called_class inside an autoload method that is registered via spl_autoload_register and noticed: - If I use get_called_class inside an autoload method I get an empty value from it - However the same doesn't happen if I'm not using a registered autoload method Was

Re: [PHP-DEV] get_called_class returns empty on spl_autoload*

2009-04-26 Thread Etienne Kneuss
Hello, On Sun, Apr 26, 2009 at 11:28 PM, Pablo Fischer pfisc...@php.net wrote: Hello, Was playing with get_called_class inside an autoload method that is registered via spl_autoload_register and noticed:  - If I use get_called_class inside an autoload method I get an empty value from it  

Re: [PHP-DEV] get_called_class returns empty on spl_autoload*

2009-04-26 Thread Pablo Fischer
Hm, probably it's my version of PHP 5.3, I noticed I've beta1 I'll compile a new one and let you know if I still have issues :-) I'm also testing on MacOS. On Sun, Apr 26, 2009 at 6:13 PM, Etienne Kneuss webmas...@colder.ch wrote: Hello, On Sun, Apr 26, 2009 at 11:28 PM, Pablo Fischer