When I use yii-pdf-0.3.2.zip and 0.4 have error below please help config have picture in attachment file
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
error number 096 please help me all friend
092 if(!function_exists(‘strcode2utf’)){
093 function strcode2utf($str,$lo=true) {
094 //converts all the &#nnn; and &#xhhh; in a string to Unicode
095 if ($lo) { $lo = 1; } else { $lo = 0; }
096 $str = preg_replace(’/\&\#([0-9]+)\;/me’, “code2utf(’\\1’,{$lo})”,$str);
097 $str = preg_replace(’/\&\#x([0-9a-fA-F]+)\;/me’, “codeHex2utf(’\\1’,{$lo})”,$str);
098 return $str;
099 }
100 }
I just want print report with pdf when I use extension have. If another friend have any way for print with pdf please help me. Thank you so much.