Skip to content

Commit 34b2080

Browse files
committed
update basic PHP test file
1 parent ee2f7a8 commit 34b2080

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/basic.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,17 @@
88
<body>
99

1010
<?
11-
/***********************************
12-
** Multiline block comments
13-
**********************************/
14-
1511
$stringWithUrl = "https://github.com/unitmatrix/sublime-syntaxhighlighter";
1612
$stringWithOutUrl = 'hello world';
1713

1814
ob_start("parseOutputBuffer"); // Start Code Buffering
1915
session_start();
2016

17+
/**
18+
* Multiline docblock comment
19+
* @param string $buf
20+
* @return string
21+
*/
2122
function parseOutputBuffer($buf) {
2223
global $portal_small_code, $portal_gzcompress;
2324
global $PHP_SELF, $HTTP_ACCEPT_ENCODING;
@@ -28,8 +29,8 @@ function parseOutputBuffer($buf) {
2829
$buf = str_replace("\n", "", $buf);
2930
$buf = str_replace(chr(13), "", $buf);
3031
}
32+
return $buf;
3133
}
32-
3334
?>
3435

3536
<!-- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -->

0 commit comments

Comments
 (0)