Re: [PHP-DEV] New PCRE function

2020-02-21 Thread Nico Oelgart
On Thu, Feb 20, 2020 at 10:12 AM Nikita Popov wrote: > FWIW, it is our established stance that all error messages must be > capitalized. Lower-case first character is only permitted if it is part of > a function name, or similar cases. > Thanks for clearing this up, Nikita. Given that, I think

Re: [PHP-DEV] New PCRE function

2020-02-19 Thread Nico Oelgart
On Wed, Feb 19, 2020 at 4:20 PM David Rodrigues wrote: > Maybe you can set all this messages as lowercase? That way we can use it > more easily. If we need the first letter in capital letters we can use > `ucfirst()`, because the opposite is more complicated (a `strtolower()` > would "break" the

[PHP-DEV] New PCRE function

2020-02-19 Thread Nico Oelgart
Hi Internals, I've submitted a small PR proposing a new PCRE function that returns a human-friendly string representation of the last error. https://github.com/php/php-src/pull/5185 Currently there's only preg_last_error() which returns error codes, which isn't really helpful. Most comments in t

Re: [PHP-DEV] password_hash() deprecate salt option - thoughts?

2015-03-31 Thread Nico
r to the top, and making it red. As Anthony’s research shows, the current note is not enough. People are still doing it wrong. — Nico -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] pcntl_alarm() doesn't work with apache_worker (multithreaded)

2007-07-30 Thread Nico Sabbi
Hi, $subject says everything: when php runs under a multithreaded apache pcntl_alarm() doesn't work: the alarm is never delivered. My version of php is 5.2.3, but also all versions I tried of 5.1 work the same. Nico -- PHP Internals - PHP Runtime Development Mailing List To unsubs

[PHP-DEV] Re: DOM recover error reporting mode

2007-02-10 Thread nico
Christian Stocker wrote: On 9.2.2007 18:10 Uhr, Nico Sabbi wrote: may I re-propose the attached patch? The first time it was ignored, but the current behaviour of dom module is extremely annoying Completely out of context your post, but I was the one who wrote that part of code

Re: [PHP-DEV] todo items

2007-02-09 Thread Nico Sabbi
Lukas Kahwe Smith wrote: Hello, On the heels of the 5.2.1 release I just wanted to bring up the following todo items that have been on the 5.x todo lists since ages. Are these still alive? Have they been done? What would be a sensible target version? Especially the "on-the-fly static prope

Re: [PHP-DEV] Syntactic improvement to array

2007-02-04 Thread Nico Haase
one who wants to be able to read his code, can use array() furthermore. Nico -- www.buchtips.net - Rezensionen online -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] don't override error_reporting() in module dom

2006-11-03 Thread Nico Sabbi
ven when the xml fed to dom is broken; php should obediently comply, not take initiatives on its own accord. Please, consider this patch for inclusion in HEAD. Nico --- ext/dom/document.c.orig 2006-01-01 13:50:06.0 +0100 +++ ext/dom/document.c 2006-11-03 10:53:18.0 +0

Re: [PHP-DEV] Re: New Operator

2006-03-14 Thread Nico Edtinger
is new operator, but Google can't search for "?:" and live.com is dead. BTW the same operator can be found in Derick's meeting notes for PHP 6.0: http://www.php.net/~derick/meeting-notes.html#ifsetor-as- replacement-for-foo-isset-foo-foo-something-else nico PGP.sig Description: Signierter Teil der Nachricht

Re: [PHP-DEV] extension and apache 2.x compatibility issue.

2006-02-27 Thread Nico Edtinger
Hi! Mac OS X has some tools for debugging and profiling. They may not be as easy to use as valgrind, but they still work. http:// kernelthread.com/mac/osx/tools.html is a good overview of the most important CLI tools (search for debug, profile, trace in the document). The same guy has a fo

Re: [PHP-DEV] what happened to that new isset() like language

2005-10-29 Thread Nico Edtinger
?= 'x'; Or if it should be a single char § chould be used - altough it looks ugly. I'd still prefer a named operator like the new instanceof. It's much easier to read, can be found in the manual and it's meaning is clear to none-PHP programmers. b4n, nico Am 30.10.