This function doesn't do anything currently so these missing calls are a latent issue. It could be used for e.g. memory leak checking in the future though, and it's potentially a useful place to add code when debugging.
It's now only generated if something to put in it is specified via: %pragma(php) include=... or %pragma(php) code=...
PSR-12 says "The closing ?> tag MUST be omitted from files containing only PHP".
Fixes github issue#240.