#26895 [Opn->WFx]: PECL extension names are inconsistant

From: Date: Tue, 10 Feb 2004 23:02:05 +0000
Subject: #26895 [Opn->WFx]: PECL extension names are inconsistant
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25576@lists.php.net to get a copy of this message
ID: 26895 Updated by: sniper@php.net Reported By: mike at dransfield7565 dot fsnet dot co dot uk -Status: Open +Status: Wont fix Bug Type: PECL related Operating System: n/a PHP Version: Irrelevant New Comment: This won't change. Previous Comments: ------------------------------------------------------------------------ [2004-01-13 12:40:47] jan at horde dot org That's what PEAR::loadExtension() is for. ------------------------------------------------------------------------ [2004-01-13 10:17:54] mike at dransfield7565 dot fsnet dot co dot uk Description: ------------ PECL extension names are inconsistant between operating systems, on Windows the extensions are named php_extension and on linux they are named just extension. This makes it very hard and messy to write cross platform applications, if the extensions were named the same, then you could do dl('php_extension.'.PHP_SHLIB_SUFFIX); Now you have to do a complicated check to see what naming convention your platform follows, then get the correct extension. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26895&edit=1

« previous php.pear.dev (#25576) next »