Ragazzi, ho ricevuto un warning che non so come risolvere...
Ecco la funzione incriminata:
Codice PHP:
function analyse_asf_file($file_name) {
$props = array();
$file = fopen($file_name, "rb");
$guid = read_asf_guid($file);
if($guid == GUID_ASF_HEADER) {
$offset = 30;
$chuck_length = read_asf_int64($file);
$num_chunks = read_asf_long($file);
$unknown = read_asf_short($file);
for($i = 0; $i < $num_chunks; $i++) {
fseek($file, $offset);
$guid = read_asf_guid($file);
$chuck_length = read_asf_int64($file);
read_asf_header_chunk($file, $guid, &$props); //questa è la riga incriminata
$offset += $chuck_length;
}
}
fclose($file);
return $props;
}
ed ecco il warning:
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.
Che si fa?