Skip to content

Commit 7c4f7ca

Browse files
committed
Exclude one clone php-src test
clone($x, ) will parse as a function call, but be printed as clone($x), which parses as a clone expression. The difference is harmless.
1 parent c5216ac commit 7c4f7ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test_old/run.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ function showHelp($error) {
121121
| Zend.tests.type_declarations.intersection_types.parsing_comment
122122
# comments in property fetch syntax, not emulated on old PHP versions
123123
| Zend.tests.gh14961
124+
# harmless pretty print difference for clone($x, )
125+
| Zend.tests.clone.ast
124126
)\.phpt$~x', $file)) {
125127
return null;
126128
}

0 commit comments

Comments
 (0)