Re: [PHP4BETA] cvs: /php4/pear DB.php Makefile.in /php4/pear/DB mssql.php mysql.php odbc.php pgsql.php storage.php
| From: | Stig Bakken | Date: | Fri, 10 Mar 2000 03:48:26 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4/pear DB.php Makefile.in /php4/pear/DB mssql.php mysql.php odbc.php pgsql.php storage.php | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11846@lists.php.net to get a copy of this message | ||
Sterling Hughes wrote:
>
> What is the deal with "use" and "import", how should they be used and when
> should they
> be used (does this mean we have namespaces?)
No, we don't have namespaces. "Import" doesn't do what you think it
does, the difference between "use" and "import" is almost like between
"require" and "include", only "import" doesn't append
".php" to get the
file name. I have asked Andi if they can remove or rename "import" to
"includeonce" or "onceclude".
- Stig