note 124906 added to function.pspell-store-replacement

From: Date: Mon, 13 Apr 2020 00:13:07 +0000
Subject: note 124906 added to function.pspell-store-replacement
Groups: php.notes 
Request: Send a blank email to php-notes+get-214464@lists.php.net to get a copy of this message
pspell_store_replacement does not work, it save empty file, exmple code below: $pspell_config = pspell_config_create("vi"); pspell_config_personal($pspell_config, '/home/web/personal_dict_path.pws'); pspell_config_repl($pspell_config, '/home/web/personal_repl_path.repl')); $pspell_link = pspell_new_config($pspell_config); pspell_store_replacement($pspell_link, $misspelledWord, $wordToAdded); $saveWordlist = pspell_save_wordlist($pspell_link); Actually the file at /home/web/personal_repl_path.repl still touched by php as monitored and I see that the last change of the file change everytime I run the code snipet above. But the content is empty, only 1 line added: personal_repl-1.1 vi 0 utf-8 ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.195 (proxied: 2402:800:61cd:ca5d:69:91a5:ef67:1d92) ---- Manual Page -- http://php.net/manual/en/function.pspell-store-replacement.php Edit -- https://master.php.net/note/edit/124906 Del: integrated -- https://master.php.net/note/delete/124906/integrated Del: useless -- https://master.php.net/note/delete/124906/useless Del: bad code -- https://master.php.net/note/delete/124906/bad+code Del: spam -- https://master.php.net/note/delete/124906/spam Del: non-english -- https://master.php.net/note/delete/124906/non-english Del: in docs -- https://master.php.net/note/delete/124906/in+docs Del: other reasons-- https://master.php.net/note/delete/124906 Reject -- https://master.php.net/note/reject/124906 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#214464) next »