Christoph M. Becker

Results 597 comments of Christoph M. Becker

> I tried using PHP 7.4 NTS x64 using 3.2.4 and 3.2.3 but the extension did not load at all (with no error using php -m) For PECL/http 3 you...

I triggered new builds of PECL/http 3.2.4 and these are using the proper ICU, but they still don't load. I'll have a closer look on Monday.

I can confirm that 86b8a4396d03ad6161ba3d05dd4986521ec7e182 solves the reported issue, but it doesn't look like a proper fix for the actual problem; why would failing to set an unsupported option break...

> There is some docs at php.net but they seems to be outdated. What exactly is out-dated?

For the record: that had already been reported as https://bugs.php.net/bug.php?id=57330.

> NON_BLOCKING_IO_php8 might be used for PHP >=7.2 Ah, I wasn't aware of that. However, that shouldn't be an issue, since stdint.h is available in the platform toolset for quite...

See also https://bugs.php.net/bug.php?id=81459

Regarding part 2: this is due to the fallback definition of `ulong` having been removed in PHP 7.4. Would be fixed with PR #25 as well (there, I just replaced...

You use ARG_WITH in your config.w32; then you need to use `--with-php-postal` instead of `--enable-php-postal`. Furthermore, php-postal depends on [libpostal](https://github.com/openvenues/libpostal), which you would need to build; and then the dependencies...

I think as quick fix, you can replace all occurrences of `strndup` in php_postal.c with `zend_strndup`. However, it seems to me that these allocations should actually use ZendMM.