Re: Displaying function arguments in errors
| From: | Calvin Buckley | Date: | Wed, 04 Mar 2026 22:16:15 +0000 |
| Subject: | Re: Displaying function arguments in errors | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-130253@lists.php.net to get a copy of this message | ||
On Mar 4, 2026, at 4:22 PM, Tim Düsterhus <tim@bastelstu.be> wrote:
>
> Hi
>
> Am 2026-03-04 20:24, schrieb Calvin Buckley:
>> What this PR will do is effectively turn this:
>> ```
>> Warning: unlink('/tmp'): Operation not permitted in /Users/calvin/src/chmod.php
>> on line 3
>> Warning: chown('/', 'calvin'): Operation not permitted in
>> /Users/calvin/src/chmod.php on line 4
>> Warning: chmod('/', 511): Operation not permitted in /Users/calvin/src/chmod.php
>> on line 5
>> ```
>> Into this:
>> ```
>> Warning: unlink(/tmp): Operation not permitted in /Users/calvin/src/chmod.php on line 3
>> Warning: chown(): Operation not permitted in /Users/calvin/src/chmod.php on line 4
>> Warning: chmod(): Operation not permitted in /Users/calvin/src/chmod.php on line 5
>> ```
>
> Did you mix up the two code blocks? I suspect the first block block is the “New” output and
> the second one the “Old” output?
>
> Best regards
> Tim Düsterhus
An oopsie indeed with a copy-paste error.