[php-src] Issue #7968: Omitting a parameter in printf() doesn't create Error

From: Date: Wed, 19 Jan 2022 10:46:17 +0000
Subject: [php-src] Issue #7968: Omitting a parameter in printf() doesn't create Error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239127@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7968 Author: sebastienserre ### Description The following code: ```php <?php printf( 'my test', ); ``` Resulted in this output: ``` my test ``` But I expected this output instead: ``` Parse error: syntax error, unexpected ')' in /in/NfddB on line 4 Process exited with code 255. ``` In the example the second parameters has been omitted and from PHP7.3, it doesn't create any error. I think the PHP7.3 should be restored. ### PHP Version PHP 8.0 ### Operating System Ubuntu 20.04

« previous php.bugs (#239127) next »