Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> echo $className::$classVariable
xamil
post
Post #1





Grupa: Zarejestrowani
Postów: 158
Pomógł: 0
Dołączył: 9.01.2005

Ostrzeżenie: (0%)
-----


Jak zrobić coś takiego:
  1. <?php
  2. $className = 'Foo';
  3. $classVariable = 'bar';
  4. echo $className::$$classVariable;
  5. ?>


Ten post edytował xamil 8.02.2008, 20:22:22
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 11:49