-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

>> How can you prepare my new extension source code and/or links so that the
>> DLL can support all the PHP 5.x.x versions?
> 
> You can't. But you can have one source version which can be built
> against all PHP versions.

This is not true. It is possible to create an extension that loads and
works in all PHP versions, but it is a PITA to write it.

If you really want to do this you need to internally support different
binary versions of PHP and you need to replace the get_module export
with your own code that exports different structs depending on PHP version.

Ah yes, and you need to load many symbols through the libc because they
might not exist in the PHP version. f.e. globals...

Stefan Esser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgmxuwACgkQSuF5XhWr2ni3VgCglNM7Ve6FXfHhG8vKcXyRCgMy
tMwAnj6Q+G0cZEV6bzSi4yPQuEJa9zgl
=WCeY
-----END PGP SIGNATURE-----

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to