https://bugs.php.net/bug.php?id=74683PHP7 is not supported
It looks like as of bcompiler 0.9.3 geoff's code above works correctly with the output:staticconstructtestOut