[PHP-DEV] [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO

2017-09-25 Thread BohwaZ/PHP
Kia ora, following my patch and discussions on this list, here is the RFC requested by some people here to implement "openBlob" in the pdo_sqlite driver, to match the "openBlob" method from the SQLite3 extension. https://wiki.php.net/rfc/implement_sqlite_openblob_in_pdo Discussion should hap

[PHP-DEV] [VOTE] JSON_THROW_ON_ERROR

2017-09-25 Thread Andrea Faulds
Hi everyone, https://wiki.php.net/rfc/json_throw_on_error Voting opens today, 2017-09-25, and ends in 10 days' time, 2017-10-05. Under the terms of the voting RFC this only needs 50%+1 but I'll feel guilty if it's not 2/3 so it's 2/3. Happy voting, please ask if there's anything needing clar

Re: [PHP-DEV] Deprecate and remove case-insensitive constants?

2017-09-25 Thread Rowan Collins
Tony, RH, If you want to continue this debate, please can you take it off list. Christoph announced that they're not pursuing their proposal nine days ago: https://marc.info/?l=php-internals&m=150559707900688&w=2 and since then the thread has become a rambling debate with no clear purpose. As

Re: [PHP-DEV] PHP extension - Saxon/C

2017-09-25 Thread O'Neil Delpratt
Problem resolved. It was actually the following line I had still there: Z_ADDREF_P(oth); > On 25 Sep 2017, at 11:36, O'Neil Delpratt wrote: > > Ok. Thanks for taking a look. > > Potenial problem could be the following line: > > const char * objName =ZSTR_VAL(Z_OBJCE_P(oth)->name); > > > I th

Re: [PHP-DEV] PHP extension - Saxon/C

2017-09-25 Thread O'Neil Delpratt
Ok. Thanks for taking a look. Potenial problem could be the following line: const char * objName =ZSTR_VAL(Z_OBJCE_P(oth)->name); I think I need to free the objName some how. > On 22 Sep 2017, at 18:42, Sara Golemon wrote: > >>> On Fri, Sep 22, 2017 at 12:21 PM, O'Neil Delpratt >>> wrote:

Re: [PHP-DEV] Deprecate and remove case-insensitive constants?

2017-09-25 Thread li...@rhsoft.net
Am 25.09.2017 um 11:41 schrieb Tony Marston: The fact that some people write "do_something" or "do_Something" or "Do_Something" or even "DO_SOMETHING" and it points to a single function because of case insensitivity does NOT cause a genuine problem - except in the minds of a few nit-picking,

Re: [PHP-DEV] Deprecate and remove case-insensitive constants?

2017-09-25 Thread Tony Marston
wrote in message news:8bc2e400-5edd-db9c-1163-ec9878e9e...@rhsoft.net... Am 24.09.2017 um 11:36 schrieb Tony Marston: If you wish to enforce case sensitivity in projects which you control then go ahead. Just don't try to enforce it on everybody else. that thread was about the PHP core and

Re: [PHP-DEV] Deprecate and remove case-insensitive constants?

2017-09-25 Thread Tony Marston
"Alain Williams" wrote in message news:20170924120754.ga4...@phcomp.co.uk... On Sun, Sep 24, 2017 at 11:52:49AM +0100, Lester Caine wrote: That sums it up nicely Alain ... Now the question is actually ... do we stay in the dark ages of single byte character sets or do we move to fully embrace