![]() |
![]() |
![]()
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!! |
|
|
![]() |
![]()
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" |
|
|
![]() ![]() |
![]() |
Aktualny czas: 30.09.2025 - 07:43 |