Skip to content

Commit 12d2551

Browse files
committed
Clarify JIT scanner regression case
1 parent dc45332 commit 12d2551

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎ext/opcache/tests/jit/gh24578.phpt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ final class Repro {
7676
}
7777
}
7878

79+
// A minus or slash without a following comment delimiter must not make the scanner stop.
7980
var_dump(Repro::interpolate('SELECT ? AS v', [3]));
8081
var_dump(Repro::interpolate('SELECT 5 -', []));
8182
var_dump(Repro::interpolate('SELECT 5 / 2', []));

0 commit comments

Comments
 (0)