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();
}
?>
Preface (Previous) Information (Next)
Last updated: Sun, 19 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.