Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32959 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75893 invoked by uid 1010); 24 Oct 2007 09:31:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75878 invoked from network); 24 Oct 2007 09:31:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2007 09:31:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=giunta.gaetano@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=giunta.gaetano@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.132.251 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: giunta.gaetano@gmail.com X-Host-Fingerprint: 209.85.132.251 an-out-0708.google.com Received: from [209.85.132.251] ([209.85.132.251:4692] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/B3-47805-6011F174 for ; Wed, 24 Oct 2007 05:31:50 -0400 Received: by an-out-0708.google.com with SMTP id c8so28855ana for ; Wed, 24 Oct 2007 02:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=K6DatOuvggYl/aEeViaNVSEdaITq/FxzYFgsVb74QSw=; b=AjhQvxMI851nysLqoZrmQkhKnhL1Kq2CoCwn2iB/oxmmSKjiFlnhBw04xvmkO9rfK6cnCwQaG68Aa4vBU+0xMDhHx0/icSv7MztWYtz5QVRmaWD4wlqm7WGVCfTQTo3ZjISZM1W0F54G6W2R3c6VsZPVlZPeP0fF60RHLsPJuD8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=nt5KIEXAjd2BIrIQLU4vyi32iQKq3mSCQPp+37tuIa1r0F+O9ShyFbWDk3WT5zjnUDwZ/g4fHvdZ1Wv7+1whvHZYK989jfVG+dw2UZOEHNARIz5rcznUnNSoKI7FJ//gDMrIg36NPfllCs9sqmJGz2ySKRpvzqTa8Radwig0PqQ= Received: by 10.100.216.14 with SMTP id o14mr193611ang.1193218307941; Wed, 24 Oct 2007 02:31:47 -0700 (PDT) Received: from ?192.168.1.189? ( [83.202.57.12]) by mx.google.com with ESMTPS id d24sm294094nfh.2007.10.24.02.31.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Oct 2007 02:31:46 -0700 (PDT) Message-ID: <471F10FE.1030209@gmail.com> Date: Wed, 24 Oct 2007 11:31:42 +0200 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Req: add versioning information to ALL php extensions From: giunta.gaetano@gmail.com (Gaetano Giunta) Hello everybody. I just stumbled on an oci bug (piecewise saving data to lobs eats one char for every piece) that has been fixed in the pecl version of the oci extension, starting from rev. 1.0, and in the bundled php extension, starting with php 5.1.6. Needless to say, the only way to code around this bug is to either test for it or grep through phpinfo() for specific oci version strings (since the current php install might be using the bundled oci ext or not). Oh, and the fix was never announced in either the pecl or php changelogs... In the past I have come across similar situations with xmlrpc and json extensions changing their apis or simply fixing their bugs in a way that makes php library writers want to pull their hair out. Yesterday I dug out in the php manual and code, and found out that the phpversion() php function in fact looks like it was designed from the ground up to give coders an exact version number of every single extension in use, be it from pecl, php or anywhere else. It just needs extension maintainers to kindly put a meaningful version string - any will do - in their zend_module_entry structure, instead of NO_VERSION_YET. It does not look like a huge amount of work to me, so I really am wondering what I am missing here... maybe a formal declaration from the core devs that extensions not providing a version info will not be accepted anymore, starting NOW? Thanks Gaetano Giunta