I am very embarrassed right now. I thought all the comments were working the same way. But I found out that // and # are different from multi-annotation like /* */
/*$conText = preg_replace_callback('@(<a .*?href\s*=\s*(([\'"])(.*?)\3|([^\s>]+)).*?>(.*?)</a>)@si', create_function('$matches', 'return addLink($matches, 1);'), $conText); $conText = preg_replace_callback('@(<area .*?href\s*=\s*(([\'"])(.*?)\3|([^\s>]+)).*?>)@si', create_function('$matches', 'return addLink($matches, 0);'), $conText);*/ //$conText = preg_replace_callback('@(<a .*?href\s*=\s*(([\'"])(.*?)\3|([^\s>]+)).*?>(.*?)</a>)@si', create_function('$matches', 'return addLink($matches, 1);'), $conText); $conText = preg_replace_callback('@(<a .*?href\s*=\s*(([\'"])(.*?)\3|([^\s>]+)).*?>(.*?)</a>)@si', 'fnConText1', $conText); $conText = preg_replace_callback('@(<area .*?href\s*=\s*(([\'"])(.*?)\3|([^\s>]+)).*?>)@si', 'fnConText0', $conText); If there is an // code, there will be a syntax error, but if you delete the line, there will be no error. Do you happen to know why this error occurs?