[php-src] PR #13068: Improve preg_* functions warnings for NUL byte

From: Date: Wed, 03 Jan 2024 18:57:24 +0000
Subject: [php-src] PR #13068: Improve preg_* functions warnings for NUL byte
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-24653@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/13068 Author: jorgsowa I thought that replacing NUL to NUL byte brings more clarity what we expect as delimiter in preg_* functions. It can be replaced with null character, null terminator, or maybe with explicit NUL (\0), but simple NUL can be mistaken with the null in PHP language. I was also confused when I was seeing this message for the first time. Additionally I formatted code of tests which were affected by this change.

« previous php.git-pulls (#24653) next »