Function DL
| From: | Andrew Lawrence | Date: | Tue, 06 Mar 2001 06:51:31 +0000 |
| Subject: | Function DL | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-383@lists.php.net to get a copy of this message | ||
Just a quick thought...
Could we ask the regular PHP people to module dl() so that if
no extension is set on the library name it adds ".dll" or ".so" or whatever
as is appropriate for the current operating system.
This would simplify writing portable code for both php-gtk and other
projects. And avoid future problems when the possible value for PHP_OS grow
and all of a sudden working code gets broke.
--
Andrew Lawrence
Smoke & Mirrors
http://www.smoke-and-mirrors.net
Tel: 416 461-8708 Fax: 416 461-1758