Bug #75441 [NEW]: php_unicode.h not available
| From: | colin at viebrock dot ca | Date: | Wed, 25 Oct 2017 15:36:47 +0000 |
| Subject: | Bug #75441 [NEW]: php_unicode.h not available | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-212319@lists.php.net to get a copy of this message | ||
From: colin at viebrock dot ca
Operating system: OS X
PHP version: 7.1.11RC1
Package: mbstring related
Bug Type: Bug
Bug description:php_unicode.h not available
Description:
------------
I'm trying to write a C extension for PHP that would benefit from using
the php_unicode_convert_case() function defined in
ext/mbstring/php_unicode.h.
However, this header file does not seem to be exported or made available
in the Homebrew installation of PHP (see
https://github.com/Homebrew/homebrew-php/issues/4537),
nor does it seem
to be available in any Ubuntu packages (apart from hhvm-dev).
Is there a way to either change the header files installed by this
package to include php_unicode.h, or is there some other way I can get
multi-byte case conversion functions available to my C extension?
Test script:
---------------
#include "ext/mbstring/php_unicode.h"
Expected result:
----------------
Running "make" on my extension should build the .so file.
Actual result:
--------------
fatal error: 'ext/mbstring/php_unicode.h' file
not found
#include "ext/mbstring/php_unicode.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Edit bug report at https://bugs.php.net/bug.php?id=75441&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75441&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75441&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75441&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75441&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75441&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75441&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75441&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75441&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75441&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75441&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75441&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75441&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75441&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75441&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75441&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75441&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75441&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75441&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75441&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75441&r=mysqlcfg