# Problem with Namespaces

- Thread: https://externals.io/message/36236
- Original archive: https://news-web.php.net/php.internals/36236
- Started by Sebastian Deutsch on 2008-03-21T16:36:11+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

---

## #36236 — Sebastian Deutsch — 2008-03-21T16:36:11+00:00

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

Hello,

I'm currently fooling around with the new namespaces feature. Is
there any (semi) official documentation when to use "use" or "import".

use Foo;

Warning: The use statement with non-compound name 'Foo' has no effect 
in. Is there any additional information.

cheers

*.sebastian

---

## #36237 — Hannes Magnusson — 2008-03-21T16:46:10+00:00

URL: https://externals.io/message/36236#36237 · In reply to: #36236

On Fri, Mar 21, 2008 at 5:36 PM, Sebastian Deutsch
<sebastian.deutsch@9elements.com> wrote:
> Hello,
>
>  I'm currently fooling around with the new namespaces feature. Is
>  there any (semi) official documentation when to use "use" or "import".
>
>  use Foo;
>
>  Warning: The use statement with non-compound name 'Foo' has no effect
>  in. Is there any additional information.

The documentations would be a good place to start:
http://docs.php.net/namespaces

-Hannes
