Voting

Please answer this simple SPAM challenge: four minus two?
(Example: nine)

The Note You're Voting On

suisuiruyi at gmail dot com
5 years ago
Note: Properties cannot be declared final, only classes and methods may be declared as final.
you can use trait:
<?php
trait PropertiesTrait {
    public
$same = true;
    public
$different = false;
}

class
PropertiesExample {
    use
PropertiesTrait;
    public
$same = true; // Strict Standards
   
public $different = true; // 致命错误
}
?>

<< Back to user notes page

To Top