Re: Displaying function arguments in errors

From: Date: Wed, 04 Mar 2026 20:22:44 +0000
Subject: Re: Displaying function arguments in errors
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-130250@lists.php.net to get a copy of this message
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

« previous php.internals (#130250) next »