Page MenuHomePhorge

array-comma.lint-test
No OneTemporary

array-comma.lint-test

<?php
array(1, 2, 3);
array(1, 2, 3,);
array(
1,
2,
3,
);
array(
1,
2,
3 // comment
);
array(
'foo',
array('foo')
);
array(
'foo' => <<<EOTEXT
This is some heredoc text.
EOTEXT
);
array(
1,
2,
3);
array(
1,
2,
3 /* comment */ );
array(
1,
2,
3, /* comment */ );
~~~~~~~~~~
advice:3:14
advice:12:3
advice:16:3
advice:26:3
advice:30:3
advice:34:20
~~~~~~~~~~
<?php
array(1, 2, 3);
array(1, 2, 3);
array(
1,
2,
3,
);
array(
1,
2,
3, // comment
);
array(
'foo',
array('foo'),
);
array(
'foo' => <<<EOTEXT
This is some heredoc text.
EOTEXT
);
array(
1,
2,
3,
);
array(
1,
2,
3, /* comment */
);
array(
1,
2,
3, /* comment */
);

File Metadata

Mime Type
text/x-php
Expires
Sun, Jan 19, 13:06 (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1124900
Default Alt Text
array-comma.lint-test (695 B)

Event Timeline