Skip to content

Commit d5a0370

Browse files
committed
[skip ci] Consistent match test closing tags
1 parent 614b219 commit d5a0370

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

Zend/tests/match/017.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ foreach (range(0, 9) as $int) {
4949
var_dump(test_string($int));
5050
}
5151

52+
?>
5253
--EXPECT--
5354
string(1) "0"
5455
string(11) "Not matched"

Zend/tests/match/023.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ echo match (true) {
1616
true => "true\n",
1717
};
1818

19+
?>
1920
--EXPECT--
2021
true

Zend/tests/match/024.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ echo match (false) {
1515
false => "false\n",
1616
};
1717

18+
?>
1819
--EXPECT--
1920
false

Zend/tests/match/027.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function main() {
2525
}
2626
main();
2727

28+
?>
2829
--EXPECTF--
2930
usesValue 0
3031
i is 0

Zend/tests/match/028.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ try {
2929
printf("Caught %s\n", $e->getMessage());
3030
}
3131

32+
?>
3233
--EXPECT--
3334
usesValue 42
3435
usesValue 42

Zend/tests/match/029.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ echo match ($undefVar) {
1414

1515
echo "unreachable\n";
1616

17+
?>
1718
--EXPECTF--
1819
Fatal error: Uncaught Exception: Custom error handler: Undefined variable $undefVar in %s029.php:4
1920
Stack trace:

Zend/tests/match/030.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ echo match ($undefVar) {
1414

1515
echo "unreachable\n";
1616

17+
?>
1718
--EXPECTF--
1819
Fatal error: Uncaught Exception: Custom error handler: Undefined variable $undefVar in %s030.php:4
1920
Stack trace:

Zend/tests/match/037.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ var_dump(match(3) {
5151
default => 'bar',
5252
});
5353

54+
?>
5455
--EXPECTF--
5556
string(%d) "UnhandledMatchError: Unhandled match value of type bool in %s037.php:5
5657
Stack trace:

0 commit comments

Comments
 (0)