mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-11 08:59:46 +01:00
67 lines
890 B
Plaintext
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
|
|
} |