Is there any significant difference in how I define multiple constants in PHP class between:
this:
<?php
abstract class Some_Class
{
const CONSTANT_ONE = 101;
const CONSTANT_TWO = 102;
const CONSTANT_THREE = 103;
}
and probably closer to JS style of defining:
<?php
abstract class Some_Class
{
const CONSTANT_ONE = 101,
CONSTANT_TWO = 102,
CONSTANT_THREE = 103
;
}