[php-src] master: Adjust test for slightly different behaviour with empty strings

Derick Rethans <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Derick Rethans (derickr)
Date: 2026-08-05T12:34:56+01:00

Commit: https://github.com/php/php-src/commit/cc6a8c6542f74fd8d219fa0f74eed6f1f63853ae
Raw diff: https://github.com/php/php-src/commit/cc6a8c6542f74fd8d219fa0f74eed6f1f63853ae.diff

Adjust test for slightly different behaviour with empty strings

Changed paths:
  M  ext/date/tests/bug35499.phpt


Diff:

diff --git a/ext/date/tests/bug35499.phpt b/ext/date/tests/bug35499.phpt
index 84d979cf71e7..ba2cb0e05f0e 100644
--- a/ext/date/tests/bug35499.phpt
+++ b/ext/date/tests/bug35499.phpt
@@ -69,9 +69,11 @@ array(12) {
   array(0) {
   }
   ["error_count"]=>
-  int(0)
+  int(1)
   ["errors"]=>
-  array(0) {
+  array(1) {
+    [0]=>
+    string(12) "Empty string"
   }
   ["is_localtime"]=>
   bool(false)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.