Skip to content

Commit ff1ba85

Browse files
committed
Fixes
1 parent efed3d7 commit ff1ba85

Some content is hidden

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

56 files changed

+1
-56
lines changed

Zend/tests/flexible-heredoc-error6.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ Note: the closing ?> has been deliberately elided.
66
<?php
77

88
echo <<<END
9-
?>
109
--EXPECTF--
1110
Parse error: syntax error, unexpected end of file in %s on line %d

Zend/tests/flexible-nowdoc-error6.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ Note: the closing ?> has been deliberately elided.
66
<?php
77

88
echo <<<'END'
9-
?>
109
--EXPECTF--
1110
Parse error: syntax error, unexpected end of file in %s on line %d

Zend/tests/halt02.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ print fread($fp, 1000);
99

1010
__HALT_COMPILER();
1111
Overlay information...
12-
?>
1312
--EXPECT--
1413
Overlay information...

ext/mbstring/tests/zend_multibyte-13.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ var_dump(substr(file_get_contents(__FILE__), __COMPILER_HALT_OFFSET__));
1212
var_dump(bin2hex("äëüáéú"));
1313
__halt_compiler();test
1414
test
15-
?>
1615
--EXPECT--
1716
string(10) "test
1817
test

ext/mbstring/tests/zend_multibyte-14.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ var_dump(substr(file_get_contents(__FILE__), __COMPILER_HALT_OFFSET__));
1212
var_dump(bin2hex("äëüáéú"));
1313
__halt_compiler();test
1414
test
15-
?>
1615
--EXPECT--
1716
string(10) "test
1817
test

ext/opcache/tests/opt/dce_009.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Loop::test3();
3636
$_main:
3737
; (lines=7, args=0, vars=0, tmps=0)
3838
; (after optimizer)
39-
; %sdce_009.php:1-23
39+
; %sdce_009.php:1-24
4040
0000 INIT_STATIC_METHOD_CALL 0 string("Loop") string("test")
4141
0001 DO_UCALL
4242
0002 INIT_STATIC_METHOD_CALL 0 string("Loop") string("test2")

ext/phar/tests/cache_list/frontcontroller26.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ files/frontcontroller8.phar
1414
Content-type: application/octet-stream
1515
--EXPECT--
1616
<?php var_dump("hi");
17-
?>

ext/phar/tests/frontcontroller26.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ files/frontcontroller8.phar
1212
Content-type: application/octet-stream
1313
--EXPECT--
1414
<?php var_dump("hi");
15-
?>

ext/spl/tests/SplFileObject/SplFileObject_current_basic.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ echo $s->current();
1616
?>
1717
--EXPECT--
1818
<?php
19-
?>

ext/spl/tests/SplFileObject/SplFileObject_next_basic.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ echo $s->current();
2020
--EXPECT--
2121
<?php
2222
//line 2
23-
?>

ext/spl/tests/SplFileObject/SplFileObject_rewind_basic.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ echo $s->current();
1919
?>
2020
--EXPECT--
2121
<?php
22-
?>

ext/spl/tests/gh9883.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ echo $file_stream; // line 9
1818
<?php
1919
<?php
2020
<?php
21-
?>

ext/standard/tests/strings/bug71806.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ echo php_strip_whitespace(__DIR__ . '/bug71806.data');
99
--EXPECT--
1010
<?php
1111
echo 098 ;
12-
?>

ext/tokenizer/tests/PhpToken_extension.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ foreach (MyPhpToken::tokenize($code) as $token) {
3434
function foo() {
3535
echo "bar";
3636
}
37-
?>

sapi/phpdbg/tests/breakpoints_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ echo $i++;
3030
echo $i++;
3131
echo $i++;
3232
echo $i++;
33-
?>

sapi/phpdbg/tests/breakpoints_002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ echo $i++;
3737
echo $i++;
3838
echo $i++;
3939
echo $i++;
40-
?>

sapi/phpdbg/tests/breakpoints_003.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ echo $i++;
3030
echo $i++;
3131
echo $i++;
3232
echo $i++;
33-
?>

sapi/phpdbg/tests/breakpoints_004.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ echo $i++;
3939
echo $i++;
4040
echo $i++;
4141
echo $i++;
42-
?>

sapi/phpdbg/tests/breakpoints_005.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ function foo($bar) {
2525
}
2626

2727
foo("test");
28-
?>

sapi/phpdbg/tests/breakpoints_006.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ function foo($bar) {
2323
}
2424

2525
foo("test");
26-
?>

sapi/phpdbg/tests/breakpoints_007.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ class bar {
2222
}
2323

2424
(new bar)->foo("test");
25-
?>

sapi/phpdbg/tests/breakpoints_008.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@ namespace Foo {
3131
namespace {
3232
(new \Foo\Bar)->Foo("test");
3333
}
34-
?>

sapi/phpdbg/tests/breakpoints_009.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ echo $i++;
3939
echo $i++;
4040
echo $i++;
4141
echo $i++;
42-
?>

sapi/phpdbg/tests/bug76801.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ prompt>
1313
for ($i = 0; $i < 25000; ++$i) {
1414
include __DIR__.'/empty.inc';
1515
}
16-
?>

sapi/phpdbg/tests/clean_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ foo();
5858
function foo() {
5959
echo 4;
6060
}
61-
?>

sapi/phpdbg/tests/clear_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,3 @@ foo();
4242
function foo() {
4343
echo 4;
4444
}
45-
?>

sapi/phpdbg/tests/exceptions_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,3 @@ prompt>
4646
var_dump($e);
4747
}
4848
})();
49-
?>

sapi/phpdbg/tests/exceptions_002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,3 @@ prompt>
4949
var_dump($e);
5050
}
5151
})();
52-
?>

sapi/phpdbg/tests/finish_leave_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ function bar() {
4141
}
4242

4343
foo();
44-
?>

sapi/phpdbg/tests/generator_run.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ function gen() {
2222
foreach (gen() as $v) {
2323
print $v;
2424
}
25-
?>

sapi/phpdbg/tests/include_once_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ prompt>
1313

1414
include_once __DIR__.'/include.inc';
1515
include_once __DIR__.'/include.inc';
16-
?>

sapi/phpdbg/tests/include_once_002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ prompt>
1313

1414
include __DIR__.'/include.inc';
1515
include_once __DIR__.'/include.inc';
16-
?>

sapi/phpdbg/tests/info_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,3 @@ namespace {
7777
(new \Foo\Bar)->Foo("test");
7878
foo("test");
7979
}
80-
?>

sapi/phpdbg/tests/info_002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ class C {
2929
}
3030

3131
print B;
32-
?>

sapi/phpdbg/tests/match_breakpoints_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ $foo = match (1) {
2828
0 => 'foo',
2929
default => 'bar', // breakpoint #1
3030
};
31-
?>

sapi/phpdbg/tests/match_breakpoints_002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ $foo->bar = match (1) {
3030
0 => 'foo',
3131
default => 'bar', // breakpoint #1
3232
};
33-
?>

sapi/phpdbg/tests/match_breakpoints_003.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ $foo->bar = match (1) {
3030
0 => 'foo',
3131
default => 'bar', // breakpoint #1
3232
};
33-
?>

sapi/phpdbg/tests/match_breakpoints_004.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ Foo::$bar = match (1) {
3232
0 => 'foo',
3333
default => 'bar', // breakpoint #1
3434
};
35-
?>

sapi/phpdbg/tests/next_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ function foo() {
3333

3434
foo();
3535
echo 1 . PHP_EOL;
36-
?>

sapi/phpdbg/tests/normal_exit.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ prompt>
1313
(function($argv) {
1414
die();
1515
})($argv);
16-
?>

sapi/phpdbg/tests/phpdbg_break_next.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ prompt>
2020
echo 'A';
2121
phpdbg_break_next();
2222
echo 'B';
23-
?>

sapi/phpdbg/tests/phpdbg_oplog_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@ $a->b();
5555
$a->b('ha');
5656

5757
var_dump(phpdbg_end_oplog(["functions" => true]));
58-
?>

sapi/phpdbg/tests/phpdbg_oplog_002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ prompt>
1414
<?php
1515

1616
var_dump(phpdbg_end_oplog());
17-
?>

sapi/phpdbg/tests/print_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,3 @@ namespace {
7575
(new \Foo\Bar)->Foo('test "quotes"');
7676
foo("test");
7777
}
78-
?>

sapi/phpdbg/tests/print_002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,3 @@ namespace {
5252
(new \Foo\Bar)->Foo("test");
5353
foo("test");
5454
}
55-
?>

sapi/phpdbg/tests/run_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ prompt>
5454
<?php
5555

5656
var_dump($argc, $argv);
57-
?>

sapi/phpdbg/tests/run_002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,3 @@ var_dump($argv);
4848
var_dump(stream_get_contents(STDIN));
4949

5050
echo "ok\n";
51-
?>

sapi/phpdbg/tests/set_exception_handler.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ prompt>
1717

1818
set_exception_handler(function () { print "EX\n"; });
1919
throw new Exception("test");
20-
?>

sapi/phpdbg/tests/stepping_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,3 @@ try {
5656
} finally {
5757
echo " ... ok\n";
5858
}
59-
?>

sapi/phpdbg/tests/watch_001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,3 @@ $b = [$a];
5151

5252
unset($b);
5353
$b = 2;
54-
?>

sapi/phpdbg/tests/watch_002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ $a[0] = 1;
3636
$a[0] = 2;
3737

3838
$a = [0 => 3, 1 => 4];
39-
?>

sapi/phpdbg/tests/watch_003.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ $a[0] = 1;
4343
$a[0] = 2;
4444

4545
$a = [0 => 3, 1 => 4];
46-
?>

sapi/phpdbg/tests/watch_004.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,3 @@ prompt>
4242
$b = "a";
4343
$a = $b.$b;
4444
$a[1] = "b";
45-
?>

sapi/phpdbg/tests/watch_005.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@ $c = &$a;
5555
$a[1] = "b";
5656

5757
exit;
58-
?>

sapi/phpdbg/tests/watch_006.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,3 @@ $a[0] = 2;
7878
$a[1] = 3;
7979
$c = [1];
8080
$b = &$c;
81-
?>

sapi/phpdbg/tests/watch_007.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ function test() {
2323
}
2424
test();
2525
$a = 2;
26-
?>

0 commit comments

Comments
 (0)