Well if there were more than one and the `EOF` in question wasn't last, then yes, it would need a comma after it. But a heredoc cannot be followed by a comma directly. So this:

```php
$my_array = array(
"first" => <<<EOF
content
EOF,
"second" <<<EOF
EOF
);
```

is wrong and will cause errors. But this:

```php
$my_array = array(
"first" => <<<EOF
content
EOF
,"second" <<<EOF
EOF
);
```

would work fine.