Skip to content

Commit f39b5c4

Browse files
committed
Close PHP tags in tests
Closes GH-12422
1 parent 1c9c3af commit f39b5c4

File tree

237 files changed

+252
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

237 files changed

+252
-5
lines changed

Zend/tests/bug54547.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Bug #54547: wrong equality of string numbers near LONG_MAX with 64-bit longs
44
<?php
55
if (PHP_INT_MAX !== 9223372036854775807)
66
die("skip for 64-bit long systems only");
7+
?>
78
--FILE--
89
<?php
910
var_dump("9223372036854775807" == "9223372036854775808");

Zend/tests/bug61011.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ try {
3232
}
3333
}
3434
echo 'okey';
35+
?>
3536
--EXPECT--
3637
okey

Zend/tests/bug62097.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Bug #62097: fix for bug #54547 is wrong for 32-bit machines
44
<?php
55
if (PHP_INT_MAX !== 2147483647)
66
die('skip for system with 32-bit wide longs only');
7+
?>
78
--FILE--
89
<?php
910
var_dump("02147483647" == "2147483647",

Zend/tests/bug62907.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ class C extends B {
1818
}
1919
}
2020
echo "okey";
21+
?>
2122
--EXPECT--
2223
okey

Zend/tests/bug64660.phpt

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

Zend/tests/bug65969.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Bug #65969 (Chain assignment with T_LIST failure)
55
$obj = new stdClass;
66
list($a,$b) = $obj->prop = [1,2];
77
var_dump($a,$b);
8+
?>
89
--EXPECT--
910
int(1)
1011
int(2)

Zend/tests/bug78454_1.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ Invalid consecutive numeric separators after hex literal
33
--FILE--
44
<?php
55
0x0__F;
6+
?>
67
--EXPECTF--
78
Parse error: syntax error, unexpected identifier "__F" in %s on line %d

Zend/tests/bug78454_2.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ Invalid consecutive numeric separators after binary literal
33
--FILE--
44
<?php
55
0b0__1
6+
?>
67
--EXPECTF--
78
Parse error: syntax error, unexpected identifier "__1" in %s on line %d

Zend/tests/generators/gh9801.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ function a() {
1717
}
1818

1919
foreach(a() as $v);
20+
?>
2021
--EXPECTF--
2122
Fatal error: Allowed memory size of %d bytes exhausted %s

Zend/tests/lsb_023.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ A::out();
2020
B::out();
2121
C::out();
2222
echo PHP_EOL;
23+
?>
2324
--EXPECT--
2425
A
2526
B

0 commit comments

Comments
 (0)