On Sun, Nov 28, 2010 at 11:48 PM, Christian Kaps
<[email protected]> wrote:
...
> /**
> *
> */
> public function set name(string $name) {
> $this->name = htmlentities($name);
> $this->name = strip_tags($this->name);
> }
>
> /**
> *
> */
> public function get name($name) {
> return $this->name;
> }
>
> Greetings,
> Christian
>
For whatever it's worth, I think that this syntax fits much better
into PHP than do either of the those in the RFC.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php