Цитата:
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 /home/.../public_html/mod/shop/s hop.php on line 50
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 /home/.../public_html/mod/shop/s hop.php on line 50
Если я правильно перевел, передача параметров по ссылке во время выполнения скрипта не рекомендуется, и в будущем планируется вообще от этого отказаться.
Правильно:
PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- <?PHP
- $html = get_product( $id_page, $id_prd, $title_page );
- ............................................................................
- function get_product( $id_page, $id_prd, &$title_page )
- {
- ........................................................................
- return $html;
- }
- ?>