# re Access Modifiers

- Thread: https://externals.io/message/44269
- Original archive: https://news-web.php.net/php.internals/44269
- Started by Michael on 2009-06-13T21:16:05+00:00
- Messages: 3
- 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

---

## #44269 — Michael — 2009-06-13T21:16:05+00:00

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

Now that there's namespaces are we getting access modifiers on 
class/functions ?
eg.

namespace Foo;

private function bar() { }
public class Baz { }

-------
Michael

---

## #44270 — Kalle Sommer Nielsen — 2009-06-14T00:12:45+00:00

URL: https://externals.io/message/44269#44270 · In reply to: #44269

2009/6/13 Michael <michael@mjburgess.co.uk>:
> Now that there's namespaces are we getting access modifiers on
> class/functions ?
> eg.
>
> namespace Foo;
>
> private function bar() { }
> public class Baz { }

No thats not implemented, and I don't belive there are any plans to
implement it currently
>
> -------
> Michael
>
> --
> 
> 
>
>



-- 
regrads,

Kalle Sommer Nielsen
kalle@php.net

---

## #44271 — Hannes Magnusson — 2009-06-14T00:12:55+00:00

URL: https://externals.io/message/44269#44271 · In reply to: #44269

> Now that there's namespaces are we getting access modifiers on
> class/functions ?


Not in 5.3 at least (see http://php.net/namespaces).
And there is a good chance PHP will never have those...

-Hannes
