Re: [RFC] throwable_string_param_max_len: Configurable string length in getTraceAsString()

From: Date: Wed, 01 Jul 2020 18:55:12 +0000
Subject: Re: [RFC] throwable_string_param_max_len: Configurable string length in getTraceAsString()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-110805@lists.php.net to get a copy of this message
Hi internals, I plan to start the voting for https://wiki.php.net/rfc/throwable_string_param_max_len on July 11, 2020. > Since 2003, Throwable->getTraceAsString() and òè㋳­�zu*pŸ > ˜×Throwable->__toString() > have limited the length of string function arguments in stringified stack traces to 15 bytes > (e.g. #0 /path/to/file.php(line) > function("012345678901234…"). > This is not enough space to render information such as paths, URLs, UUIDs, etc. > if an end user wants to see them when debugging an issue or developing locally. > > This proposes a new ini setting throwable_string_param_max_len > that would allow > changing the string byte limit to any value between 15 and 1000000, keeping the current default > of 15 bytes. Thanks, - Tyson

« previous php.internals (#110805) next »