![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 442 Pomógł: 0 Dołączył: 27.12.2005 Ostrzeżenie: (0%) ![]() ![]() |
Jak pobrać nazwę klasy z obiektu??
Niestety __CLASS__ nie działa, gdyż w momencie:
wypisuje foo (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) a powinno foo2 Ten post edytował UDAT 28.12.2005, 10:58:08 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Przyjaciele php.pl Postów: 1 224 Pomógł: 40 Dołączył: 6.07.2004 Skąd: Wuppertal Ostrzeżenie: (0%) ![]() ![]() |
nie zadziala
Kod Possibles values for the returned string are:
* "boolean" (since php 4) * "integer" * "double" (for historical reasons "double" is returned in case of a float, and not simply "float") * "string" * "array" * "object" * "resource" (since php 4) * "NULL" (since php 4) * "user function" (php 3 only, deprecated) * "unknown type" |
|
|
![]() ![]() |
![]() |
Aktualny czas: 17.10.2025 - 10:46 |