Voting

The voting resulted in a sum of +27 votes. Thus, the "no prefix" solution had been chosen.

A vote of 0 will not be counted.

If the overall score at the end of the call-for-votes is positive, class members will not be prefixed. If negative, they will be prefixed.

No prefix (accepted)

A vote of +1 suggests class members should not be prefixed.

<?php
class Foo
{
    protected 
$somevar;
    protected function 
somefunc();
}
?>

Prefix (not accepted)

A vote of -1 suggests class members should be prefixed with an underscore.

<?php
class Foo
{
    protected 
$_somevar;
    protected function 
_somefunc();
}
?>
    Поддержать сайт на родительском проекте КГБ