Req #21594 [Opn->Wfx]: import construct
| From: | maarten@php.net | Date: | Fri, 12 Jul 2013 13:11:58 +0000 |
| Subject: | Req #21594 [Opn->Wfx]: import construct | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-180226@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=21594&edit=1
ID: 21594
Updated by: maarten@php.net
Reported by: tazio at nur dot it
Summary: import construct
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: all
PHP Version: 4.3.0
Block user comment: N
Private report: N
New Comment:
It's 10 years later now, and now we've got namespaces and more OO features.
Previous Comments:
------------------------------------------------------------------------
[2003-01-12 06:05:27] tazio at nur dot it
could be interesting for OOP a java like import construct importing a selected file with syntax
import "path/to/my_file.php";
which is the same of include / require
but also
import "path/to/my_lib/*";
that should import all php files in the directory.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=21594&edit=1