1<?php
2$a = true;
3if ($a) {
4    function foo(...$arg) {
5        echo "Hello\n";
6    }
7}