# T_IMPORT vs. T_USE

- Thread: https://externals.io/message/32550
- Original archive: https://news-web.php.net/php.internals/32550
- Started by Ford on 2007-10-02T09:28:20+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #32550 — Ford — 2007-10-02T09:28:20+00:00

URL: https://externals.io/message/32550#32550

> Andi Gutmans wrote:
> > […]
> think the perception many will have of "use" is that it also
> includes files (just based on some other languages).

I don't know much about "other languages", but purely in terms of English I would expect "use" to work with something that's already lying around ready to be used, whereas "import" would go and fetch something from somewhere else and make it ready to be used in the current context. In other words, I would probably expect "import" to potentially have an implied "include", and "use" not to.

But then, in the global polyglot marketplace, this argument may not have much force!! ;)

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
JG125, The Headingley Library,
James Graham Building, Leeds Metropolitan University,
Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
Email: m.ford@leedsmet.ac.uk
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

---

## #32565 — Giedrius D — 2007-10-02T18:19:08+00:00

URL: https://externals.io/message/32550#32565 · In reply to: #32550

Same here.


> 
>
> > […]
>
> I don't know much about "other languages", but purely in terms of English I would expect "use" to work with something that's already lying around ready to be used, whereas "import" would go and fetch something from somewhere else and make it ready to be used in the current context. In other words, I would probably expect "import" to potentially have an implied "include", and "use" not to.
>
> But then, in the global polyglot marketplace, this argument may not have much force!! ;)
>
> Cheers!
>
> Mike
>
> ---------------------------------------------------------------------
> Mike Ford,  Electronic Information Services Adviser,
> JG125, The Headingley Library,
> James Graham Building, Leeds Metropolitan University,
> Headingley Campus, LEEDS,  LS6 3QS,  United Kingdom
> Email: m.ford@leedsmet.ac.uk
> 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
>
> --
> 
> 
>
>

Giedrius
