Page MenuHomeSealhub

array-comma.lint-test
No OneTemporary

Authored By
Unknown
Size
699 B
Referenced Files
None
Subscribers
None

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:4:14
advice:13:3
advice:17:3
advice:27:3
advice:31:3
advice:35: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
Sat, Nov 28, 04:23 (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1230275
Default Alt Text
array-comma.lint-test (699 B)

Event Timeline