Skip to content

Commit

Permalink
update basic PHP test file
Browse files Browse the repository at this point in the history
  • Loading branch information
unitmatrix committed Jan 31, 2015
1 parent ee2f7a8 commit 34b2080
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@
<body>

<?
/***********************************
** Multiline block comments
**********************************/

$stringWithUrl = "https://github.com/unitmatrix/sublime-syntaxhighlighter";
$stringWithOutUrl = 'hello world';

ob_start("parseOutputBuffer"); // Start Code Buffering
session_start();

/**
* Multiline docblock comment
* @param string $buf
* @return string
*/
function parseOutputBuffer($buf) {
global $portal_small_code, $portal_gzcompress;
global $PHP_SELF, $HTTP_ACCEPT_ENCODING;
Expand All @@ -28,8 +29,8 @@ function parseOutputBuffer($buf) {
$buf = str_replace("\n", "", $buf);
$buf = str_replace(chr(13), "", $buf);
}
return $buf;
}

?>

<!-- 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. -->
Expand Down

0 comments on commit 34b2080

Please sign in to comment.