![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 37 Pomógł: 0 Dołączył: 21.02.2004 Ostrzeżenie: (0%) ![]() ![]() |
Mam taki problem w PHP4:
Kod class test { var $pole = "pole"; } echo test::pole; Wywala błąd: "Parse error: parse error, unexpected ';', expecting '(' in test.php on line 8" Czy w php4 można jakos zrobić statyczne pola? dzieki za pomoc!! -------------------- If I Cant.... Do It... Homieee Ite Cant Be Doooone
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 37 Pomógł: 0 Dołączył: 21.02.2004 Ostrzeżenie: (0%) ![]() ![]() |
Niestety ponizszy kod tez nie działa u mnie (na php 4.3.4).
Kod <?php class test { var $pole = "pole"; } echo test::$pole; ?> Błąd: "Parse error: parse error, unexpected ';', expecting '(' in test.php on line 8" -------------------- If I Cant.... Do It... Homieee Ite Cant Be Doooone
|
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 15:56 |