Re: [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript
| From: | Peter Bowyer | Date: | Mon, 01 Jul 2024 07:33:51 +0000 |
| Subject: | Re: [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124132@lists.php.net to get a copy of this message | ||
On Thu, 27 Jun 2024 at 03:22, Michael Morris <tendoaki@gmail.com> wrote:
> ```
> import foo from "foo.php"
> ```
>
I'd strongly recommend the autocomplete-friendly order instead:
```
from "foo.php" import foo
```
Overall I am keen on module/package support of some kind that allows for
visibility control at the boundary, so I can hide implementation classes
within the module and control the public interface.
Peter