[php-src] PR #25153: ext/date: Fix strtotime() handling of embedded NUL bytes

From: Date: Mon, 02 Nov 2026 15:06:27 +0000
Subject: [php-src] PR #25153: ext/date: Fix strtotime() handling of embedded NUL bytes
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40224@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25153 Author: arshidkv12 Related to https://github.com/php/php-src/issues/25150 ```php $a = strtotime("\x00"); var_dump($a); ``` **Current output:** ```text int(1793627532) ``` **Expected output:** ```text bool(false) ``` strtotime() should return false when the input contains a NUL byte.

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