previousPreface (Previous) (Next) Informationnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Voting

Note: 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();
}
?>
previousPreface (Previous) (Next) Informationnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.