Re: [PHP-DEV] [PATCH] pg_escape_literal/pg_escape_identifier for pgsql

2011-05-23 Thread Yasuo Ohgaki
2011/5/24 Yasuo Ohgaki : >> Should we really provide fallback if PQescape(Literal|Identifier) >> isn't available? Did you copy the escaping from postgresql directly? > > Wouldn't it nice to have the same escaping capability for 8.x? > It's not possible to copy the code, since it's binded to Postgre

Re: [PHP-DEV] [PATCH] pg_escape_literal/pg_escape_identifier for pgsql

2011-05-23 Thread Yasuo Ohgaki
2011/5/20 Hannes Magnusson : > On Fri, May 20, 2011 at 03:24, Yasuo Ohgaki wrote: >> Hi all >> >> Current PostgreSQL has new escape functions for literals and identifiers. >> Since there is no function for that, I made patch for that. Attached patch is >> for trunk and tested with PostgreSQL 8.4 a

Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2011-05-23 Thread Thomas Hruska
On 5/19/2011 9:00 AM, dukeofgaming wrote: @Thomas I agree on dropping<% for good, I personally don't know any project that uses it and don't think there is currently any point to them anymore. Also, I do use ' Yes. -- Thomas Hruska CubicleSoft President Barebones CMS is a high-performance, o

Re: [PHP-DEV] call_user_func performance and dynamic code

2011-05-23 Thread Hannes Magnusson
On Mon, May 23, 2011 at 20:30, Stas Malyshev wrote: > Hi! > >> I'd like to ask a question about call_user_func/_array performance and >> the use of runtime variables to call functions and methods from the >> PHP internals perspective. > > There are two separate issues here: real-life PHP applicati

Re: [PHP-DEV] call_user_func performance and dynamic code

2011-05-23 Thread Stas Malyshev
Hi! I'd like to ask a question about call_user_func/_array performance and the use of runtime variables to call functions and methods from the PHP internals perspective. There are two separate issues here: real-life PHP application performance and internal engine performance. If you are inter

Re: [PHP-DEV] Constructor object instance dereferentiation

2011-05-23 Thread Jaroslav Hanslik
Dne 23.5.2011 3:23, Felipe Pena napsal(a): Hi, 2011/5/22 Matthew Weier O'Phinney One thing not on the RFC that I'm curious about: if the class defines __invoke(), would the following work? new MyClass()(); That would be particularly useful for implementing helper systems, which are quite

Re: [PHP-DEV] Constructor object instance dereferentiation

2011-05-23 Thread Jaroslav Hanslik
Dne 23.5.2011 3:23, Felipe Pena napsal(a): Hi, 2011/5/22 Matthew Weier O'Phinney One thing not on the RFC that I'm curious about: if the class defines __invoke(), would the following work? new MyClass()(); That would be particularly useful for implementing helper systems, which are quite