[php-src] master: ext/hash: cleaned up test (#23041)

NickSdot via GitHub <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: NickSdot (NickSdot)
Committer: GitHub (web-flow)
Pusher: kamil-tekiela
Date: 2026-08-07T13:05:14+01:00

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

ext/hash: cleaned up test (#23041)

Changed paths:
  M  ext/hash/tests/hash_serialize_003.phpt


Diff:

diff --git a/ext/hash/tests/hash_serialize_003.phpt b/ext/hash/tests/hash_serialize_003.phpt
index 541a3169e53e..a01c100644a1 100644
--- a/ext/hash/tests/hash_serialize_003.phpt
+++ b/ext/hash/tests/hash_serialize_003.phpt
@@ -237,7 +237,7 @@ function test_serialization($serial, $hash, $algo) {
         }
     } catch (Throwable $e) {
         echo "$algo: problem with serialization {$serial}\n";
-        echo '  ', $e::class . ': ' . $e->getMessage(), "\n", $e->getTraceAsString();
+        echo $e::class, ': ', $e->getMessage(), "\n", $e->getTraceAsString();
     }
 }
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.