3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Data { public $foo = 'bar'; public function wtf() { unset($this->foo); } } $d = new Data; var_dump('foo exists', isset($d['foo']); $d->wtf(); var_dump('foo exists', isset($d['foo']);
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected ';' in /in/FDCNM on line 15
Process exited with code 255.