Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32977 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18844 invoked by uid 1010); 25 Oct 2007 09:01:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18828 invoked from network); 25 Oct 2007 09:01:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Oct 2007 09:01:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=M.Ford@leedsmet.ac.uk; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=M.Ford@leedsmet.ac.uk; sender-id=pass Received-SPF: pass (pb1.pair.com: domain leedsmet.ac.uk designates 160.9.128.18 as permitted sender) X-PHP-List-Original-Sender: M.Ford@leedsmet.ac.uk X-Host-Fingerprint: 160.9.128.18 mrelay-c.lmu.ac.uk Linux 2.4/2.6 Received: from [160.9.128.18] ([160.9.128.18:28529] helo=mrelay-c.lmu.ac.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6E/31-09608-86B50274 for ; Thu, 25 Oct 2007 05:01:30 -0400 Received: from localhost.lmu.ac.uk ([127.0.0.1] helo=localhost) by mrelay-c.lmu.ac.uk with esmtp (Exim 4.43) id 1IkyWR-0005BH-HU for internals@lists.php.net; Thu, 25 Oct 2007 09:56:59 +0100 Received: from mrelay-c.lmu.ac.uk ([127.0.0.1]) by localhost (mrelay-c [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19253-02 for ; Thu, 25 Oct 2007 09:56:54 +0100 (BST) Received: from leedsmet-exch1.leedsmet.ac.uk ([160.9.35.117]) by mrelay-c.lmu.ac.uk with esmtp (Exim 4.43) id 1IkySX-00059u-QB for internals@lists.php.net; Thu, 25 Oct 2007 09:52:57 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Thu, 25 Oct 2007 09:52:57 +0100 Message-ID: <93ED589E60BA254F97435FE6C97F2C672DE14C@leedsmet-exch1.leedsmet.ac.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: thread-topic: [PHP-DEV] Re: import/use last call thread-index: AcgVpt1USABgD0lyQCinSrLoc8IjlABPNSBg To: "PHP Internals" X-Virus-Scanned: by McAfee at Leeds Metropolitan University Subject: RE: [PHP-DEV] Re: import/use last call From: M.Ford@leedsmet.ac.uk ("Ford, Mike") On 23 October 2007 19:57, Gregory Beaver wrote: > Giedrius D wrote: > >=20 > > Anyway my main question was: is there any reason not to use > keyword "use"? > The only reason for me is that "use" implies some kind of autoloading, > as I suggested in one of my other mails. H'mm, that's interesting. As I think I've said before, for me "use" implies= using something that's already sitting around waiting to be used, whereas = "import" suggests an actual "go fetch" action, such as include/autoload (an= d then using the result). I think I'd be slightly confused by a "use" that = does an autoload and an "import" that doesn't. ;) Cheers! Mike --------------------------------------------------------------------------= -------------- Mike Ford, Electronic Information Services Adviser, JG125, The Headingley Library, James Graham Building, Headingley Campus, Beckett Park, LEEDS, LS6 3QS United Kingdom Tel: +44 113 812 4730 Fax: +44 113 812 3211 To view the terms under which this email is distributed, please go to http:= //disclaimer.leedsmet.ac.uk/email.htm