php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #21594 import construct
Submitted: 2003-01-12 06:05 UTC Modified: 2013-07-12 13:11 UTC
From: tazio at nur dot it Assigned:
Status: Wont fix Package: *General Issues
PHP Version: 4.3.0 OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tazio at nur dot it
New email:
PHP Version: OS:

 

 [2003-01-12 06:05 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-12 13:11 UTC] maarten@php.net
-Status: Open +Status: Wont fix -Package: Feature/Change Request +Package: *General Issues
 [2013-07-12 13:11 UTC] maarten@php.net
It's 10 years later now, and now we've got namespaces and more OO features.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC