Doc #66202 [NEW]: Enchant old docs
| From: | enyby at yandex dot ru | Date: | Fri, 29 Nov 2013 13:13:22 +0000 |
| Subject: | Doc #66202 [NEW]: Enchant old docs | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-10652@lists.php.net to get a copy of this message | ||
From: enyby at yandex dot ru
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Enchant old docs
Description:
------------
In Enchant 1.1.0 added few functions and constants not listed in php
docs:
- add enchant_broker_set_dict_path and enchant_broker_get_dict_path.
Allows custom locations for the ispell and myspell dictionnaries
- add ENCHANT_ISPELL and ENCHANT_MYSPELL constants
From: http://pecl.php.net/package-changelog.php?package=enchant
---
From manual page: http://www.php.net/enchant.constants
---
Some code from enchant.c:
Test script:
---------------
#define PHP_ENCHANT_MYSPELL 1
#define PHP_ENCHANT_ISPELL 2
ZEND_BEGIN_ARG_INFO_EX(arginfo_enchant_broker_set_dict_path, 0, 0, 3)
ZEND_ARG_INFO(0, broker)
ZEND_ARG_INFO(0, name)
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_enchant_broker_get_dict_path, 0, 0, 2)
ZEND_ARG_INFO(0, broker)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
PHP_FE(enchant_broker_set_dict_path, arginfo_enchant_broker_set_dict_path)
PHP_FE(enchant_broker_get_dict_path, arginfo_enchant_broker_get_dict_path)
--
Edit bug report at https://bugs.php.net/bug.php?id=66202&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66202&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66202&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66202&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66202&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66202&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66202&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66202&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66202&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66202&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66202&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66202&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66202&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66202&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66202&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66202&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66202&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66202&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66202&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66202&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66202&r=mysqlcfg