3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pa = '1'; $func = function($this) use ($pa) { $this->property = 'changed'; };
based on RJ3l3
Output for 7.0.20 - 7.2.0
Fatal error: Cannot use $this as parameter in /in/9mD6B on line 3
Process exited with code 255.
Output for 5.3.19 - 7.0.6