1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-11 08:59:46 +01:00
PHP-Parser/test/code/prettyPrinter/comments.test
2016-04-19 15:10:51 +02:00

67 lines
890 B
Plaintext

Comments
-----
<?php
function justForIndentation()
{
// Some text
# Some text
/* Some text */
/** Some text */
/**
* Some text.
* Some more text.
*/
/*
* Some text.
* Some more text.
*/
/*
Some text.
Some more text.
*/
/* Some text.
More text. */
/* Some text.
More text.
Even more text. */
$foo;
}
-----
function justForIndentation()
{
// Some text
# Some text
/* Some text */
/** Some text */
/**
* Some text.
* Some more text.
*/
/*
* Some text.
* Some more text.
*/
/*
Some text.
Some more text.
*/
/* Some text.
More text. */
/* Some text.
More text.
Even more text. */
$foo;
}
-----
<?php
function test()
{
// empty
}
-----
function test()
{
// empty
}