Error in data
cschasiepen opened this issue · comments
cschasiepen commented
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/vendor/overtrue/pinyin/data/words_1 on line 3
安正超 commented
plz show me your code.
cschasiepen commented
$stadt['text'] is a city name in Chinese
url_to_text($stadt['text']);
function url_to_text($output) {
$output = trim($output);
// language_id 6 == chinese
if(language_id == 6)
{
$pinyin = new Pinyin();
$output = $pinyin->permalink($output);
}
安正超 commented
what is the name of city?