Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> & w php 4.4.2, referencje?
AxZx
post
Post #1





Grupa: Zarejestrowani
Postów: 1 385
Pomógł: 55
Dołączył: 1.03.2005
Skąd: śląsk

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


witam

wlasnie zainstalowalem najnowsze z serii 4 php 4.4.2

takie ostrzezenia wyskakuja:

Kod
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in ...



tak przekazywalem zmienne do klasy
  1. <?php
  2. $obiekt = new klasa(&$sql, &$smarty, &$lang);
  3. ?>


jak to sie powinno robic?

Ten post edytował AxZx 26.06.2006, 11:25:41
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 24.08.2025 - 21:56