Code snippets test

Some php code:

What about TS?