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
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
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
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
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
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
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
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
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
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
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
?= '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.
12 matches
Mail list logo