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: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.