<?php class foo{ public $foo = ''; function __construct(){ $this->foo = "string"; } function __destruct(){ var_dump( $foo ); } } $ex = new foo();
You have javascript disabled. You will not be able to edit any code.