<?php class Foo { public function __get( $name ) { $this->$name = 'testing'; return $this->$name; } } $foo = new Foo(); var_dump( isset( $foo->attributes ) ); var_dump( $foo->attributes );
You have javascript disabled. You will not be able to edit any code.