diff --git a/tests/phpunit/tests/html-api/wpHtmlProcessor-serialize.php b/tests/phpunit/tests/html-api/wpHtmlProcessor-serialize.php
index f2e76dbaeae29..4fa46d3cabc2f 100644
--- a/tests/phpunit/tests/html-api/wpHtmlProcessor-serialize.php
+++ b/tests/phpunit/tests/html-api/wpHtmlProcessor-serialize.php
@@ -243,7 +243,7 @@ public function data_bogus_comments() {
'CDATA look-alike' => array( '' ),
'Immediately-closed markup instruction' => array( '' ),
'Warning Symbol' => array( '' ),
- 'PHP block look-alike' => array( '', 'php foo(); ?', '>' ),
+ 'PHP block look-alike' => array( '<', '?php foo(); ?', '>' ),
'Funky comment' => array( '', '%display-name', '>' ),
'XML Processing Instruction look-alike' => array( '<', '?xml foo ', '>' ),
);