provide support for exit as a function

Currently there is no support for `exit` as either a function or a language construct. The following should all be valid:

```php
exit("Something went terribly wrong");

exit(1);

exit;

exit 1;
```

This pull request adds support for the function style, but it `exit` should still be supported as a language construct.