$aa= preg_replace_callback( '/(?<=<a)[^>]*([^<]*)(?=<)/i', function ($matches) use(&$newHref) { return next($newHref); }, $aa );
$aa= preg_replace_callback( '/(?<=<a)[^>]*([^<]*)(?=<)/i', function ($matches) use(&$newHref) { return next($newHref); }, $aa );
转载于:https://www.cnblogs.com/loweringye/p/10184171.html