Re: [PHP-DEV] Making the hardcoded string length limit of Throwable->getTraceAsString() configurable

2020-06-25 Thread Thomas Lamy
Am 24.06.20 um 21:22 schrieb tyson andre: Hi internals, By default, strings in parameter lists are truncated to 15 bytes by default in Throwable->getTraceAsString() (and Throwable->__toString() as a consequence). (in Zend/zend_exception.c in `static void _build_trace_args(zval *arg,

Re: [PHP-DEV] Proposal For Return-If / Early Return / Guard Clause Syntax

2020-05-10 Thread Thomas Lamy
Am 10.05.20 um 18:26 schrieb John Bafford: Hi Ralph, On May 10, 2020, at 11:49, Ralph Schindler wrote: Hi! # Intro I am proposing what is a near completely syntactical addition (only change is to language.y) to the language. The best terminology for this syntax is are: `return if`,

Re: [PHP-DEV] exit() via exception

2019-10-13 Thread Thomas Lamy
Am 11.10.19 um 15:16 schrieb Claude Pache: Le 11 oct. 2019 à 13:05, Nikita Popov a écrit : I'm mainly wondering how exactly we'd go about integrating this in the existing exception hierarchy. Assuming that it is desirable to allow people to actually catch this exception, my first thought

Re: [PHP-DEV] [PATCH] Add configuration value to enable/disable stack trace logging

2019-06-17 Thread Thomas Lamy
Am 17.06.19 um 21:27 schrieb Björn Larsson: Den 2019-06-17 kl. 19:10, skrev Erik Lundin: Background: The latest version of PHP seems to handle fatal errors as exceptions which results in stack traces being logged. Stack traces can potentially contain sensitive information and should not be

[PHP-DEV] How to get zval map to identify cpu hog?

2016-09-27 Thread Thomas Lamy
Hi, it's the second time I'm running into this: In a rather big project I'm using gearman to enable semi-parallel processing of many small jobs. I'm using PHP 5.6.22-0+deb8u1 with OPcache 7.0.6-dev on Debian. All was well before the code needed refactoring for a new feature: 30 workers

Re: [PHP-DEV] RFC: Strict comparisons

2016-09-21 Thread Thomas Lamy
Am 21.09.16 um 14:49 schrieb Vesa Kaihlavirta: On Tue, 20 Sep 2016 at 02:20 Dan Ackroyd wrote: Hi Vesa, On 19 September 2016 at 14:04, Vesa Kaihlavirta wrote: My idea is to add a strict_comparisons declaration that you can add at the beginning

[PHP-DEV] Supporting php4 (was: Object Equality)

2003-11-03 Thread Thomas Lamy
Andi Gutmans wrote: At 03:42 PM 10/9/2003 +0100, Wez Furlong wrote: Interestingly enough, I brought up this issue just over a year ago. Even more interesting is that I stumbled across my original post from that time while looking into something else today.

Re: [PHP-DEV] Feature proposal

2003-07-22 Thread Thomas Lamy
Mike Robinson topquoted: No offense, but I see this feature as a bad thing in so many ways and on so many levels my skin is crawling. :) Regards Mike Robinson http://fiddy8.com/ I have to fight with people that using error suppression operator - they just hide their bugs. I

[PHP-DEV] enable/disable/bundle mysql/pgsql/sqlite by default (was: enabling postgresql by default)

2003-06-25 Thread Thomas Lamy
Tim Parkin wrote: [...] I agree that SQLite is a good idea, however I also see the need for standard, bundled db client code, after all the MySQL inclusion has had an enormous impact on hosting and hence the direction of mine and many other PHP oriented industries. The real question

[PHP-DEV] Possible solution for bug 18291

2003-06-22 Thread Thomas Lamy
Could someone please review this? It deals with properly quoted args (with spaces) in safe mode. Thanks. -- Thomas Lamy[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Possible solution for bug 18291

2003-06-22 Thread Thomas Lamy
Derick Rethans wrote: On Sun, 22 Jun 2003, Thomas Lamy wrote: Could someone please review this? It deals with properly quoted args (with spaces) in safe mode. Nothing here... please put it on a website and shows us the URL (the list strips non-text attachments) Ok, it's on http

[PHP-DEV] bug # 22154

2003-06-22 Thread Thomas Lamy
... is still marked open (verified by sniper), but I can't verify with 4.5.0-dev (as of today). Even checked with a 20 MB file. Does anybody with karma has the time and faith to try the embedded example again, and then maybe close this one? Thomas -- Thomas Lamy[EMAIL

Re: [PHP-DEV] Possible solution for bug 18291

2003-06-22 Thread Thomas Lamy
Derick Rethans wrote: On Sun, 22 Jun 2003, Thomas Lamy wrote: Could someone please review this? It deals with properly quoted args (with spaces) in safe mode. Nothing here... please put it on a website and shows us the URL (the list strips non-text attachments) Ok, it's on http