Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25694 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15164 invoked by uid 1010); 14 Sep 2006 18:06:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15149 invoked from network); 14 Sep 2006 18:06:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2006 18:06:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=permerror; sender-id=softfail Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zend.com from 192.38.9.232 cause and error) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from [192.38.9.232] ([192.38.9.232:3026] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/85-45066-9E999054 for ; Thu, 14 Sep 2006 14:06:05 -0400 Received: by gw2.emini.dk (Postfix, from userid 504) id 201BBC590E; Thu, 14 Sep 2006 20:05:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on gw2.emini.dk X-Spam-Detected: no X-Spam-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.3 X-Spam-Level: * Received: from foxbox (unknown [84.228.30.154]) by gw2.emini.dk (Postfix) with ESMTP id A9930C590C; Thu, 14 Sep 2006 20:05:24 +0200 (CEST) Message-ID: <066201c6d827$c7cad200$6602a8c0@foxbox> Reply-To: "Steph Fox" To: "Pierre" Cc: "Michael B Allen" , References: <20060914104410.09bdd7f6.mba2000@ioplex.com> <20060914131414.0cef91b2.mba2000@ioplex.com> <064c01c6d822$d37bc730$6602a8c0@foxbox> Date: Thu, 14 Sep 2006 20:01:17 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_065F_01C6D838.8A52FAE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] Module API Changes From: steph@zend.com ("Steph Fox") ------=_NextPart_000_065F_01C6D838.8A52FAE0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit OK, has anyone enough time to commit this please? I left the extension API change out of it though (the ME_* support) - does that really need to go in there too? ----- Original Message ----- From: "Pierre" To: "Steph Fox" Cc: "Michael B Allen" ; Sent: Thursday, September 14, 2006 7:39 PM Subject: Re: [PHP-DEV] Module API Changes > Hello, > > On 9/14/06, Steph Fox wrote: >> Hi Michael, Pierre - >> >> Erm, no they aren't in the upgrade guide, because the upgrade guide is >> aimed >> at user issues and this was seen primarily as an extension author issue. >> Do >> people generally think the module and extension API bumps should be in >> there? > > Rasmus was talking about the internals change and ask if they can be > put in this file. I think it is a very good suggestion and no, I did > not have the time (and will not in the next 10 days) to do it :) > > --Pierre ------=_NextPart_000_065F_01C6D838.8A52FAE0 Content-Type: text/plain; format=flowed; name="upgrade.txt"; reply-type=response Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="upgrade.txt" Index: README.UPDATE_5_2=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= RCS file: /repository/php-src/Attic/README.UPDATE_5_2,v=0A= retrieving revision 1.1.2.15=0A= diff -u -r1.1.2.15 README.UPDATE_5_2=0A= --- README.UPDATE_5_2 11 Sep 2006 23:11:18 -0000 1.1.2.15=0A= +++ README.UPDATE_5_2 14 Sep 2006 17:57:18 -0000=0A= @@ -25,6 +25,23 @@=0A= =0A= under PHP CLI. All methods map to existing procedural date functions.=0A= =0A= +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= +Module API number change=0A= +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= +=0A= +Following a series of issues surrounding the loading and unloading of = PHP=0A= +extensions, an entirely new - and infinitely more stable - module API = was=0A= +introduced in PHP 5.2. This means that PHP 5.2 will abort the process = when=0A= +attempting to load an extension built against a version of PHP 5 = pre-dating=0A= +the change made on 19th May 2006. Extension authors should be aware = that the=0A= +internal code itself has retained back compatibility. Simply building = your=0A= +extension against PHP 5.2 will solve the loading problem, although it = will=0A= +also leave your extension open to the same issues that prompted the = change=0A= +in the first place.=0A= +=0A= +Note: This does not in any way affect the status of the dl() function, = which=0A= +is still marked as deprecated.=0A= +=0A= = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= Items from the NEWS file explained=0A= = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= @@ -127,7 +144,7 @@=0A= Please refer to the PHP Manual for details.=0A= =0A= =0A= -- Improved memory manager and increased default memory limit (Dmitry)=0A= +- Improved memory manager and increased default memory limit. (Dmitry)=0A= =0A= The new memory manager allocates less memory and works faster than the=0A= previous incarnation. It allocates memory from the system in large = blocks,=0A= @@ -138,17 +155,17 @@=0A= all the memory overhead used by the malloc library.=0A= =0A= Thanks to this new-found accuracy memory usage may appear to have = increased,=0A= - although actually it has not. To accommodate this apparent increase, = the=0A= + although actually it has not. To accommodate the apparent increase, = the=0A= default memory_limit setting was also increased - from 8 to 16 = megabytes.=0A= =0A= =0A= -- Changed priority of PHPRC environment variable on win32 (Dmitry)=0A= +- Changed priority of PHPRC environment variable on win32. (Dmitry)=0A= =0A= The PHPRC environment variable now takes priority over the path stored=0A= in the Windows registry.=0A= =0A= =0A= -- Added notice when accessing return value from __get() in write mode = (Marcus)=0A= +- Added notice when accessing return value from __get() in write mode. = (Marcus)=0A= =0A= The reason for this is that __get() only returns variables in read = mode, and=0A= it is therefore not possible to write to the returned variable. In = previous=0A= @@ -161,10 +178,10 @@=0A= cast the returned value from __get() to an array, or use SPL's = ArrayObject=0A= instead of an array.=0A= =0A= -- CLI SAPI no longer checks cwd for php.ini or the php-cli.ini file = (Edin)=0A= +- CLI SAPI no longer checks cwd for php.ini or the php-cli.ini file. = (Edin)=0A= =0A= - In PHP 5.1.X an undocumented feature was added that made the CLI = binary=0A= - check the current directory for PHP configuration file possibly = leading to=0A= - unpredictable behavior due to an un-expected configuration file being=0A= - read. This functionality was removed in 5.2 and PHP will no longer = search=0A= - CWD for the presence of the php.ini or the php-cli.ini files.=0A= + In PHP 5.1.X an undocumented feature was added that made the CLI = binary search=0A= + the current directory for the PHP configuration file, potentially = leading to=0A= + unpredictable behavior due to an unexpected configuration file being = read.=0A= + This functionality was removed in 5.2, and PHP CLI will no longer = check CWD=0A= + for the presence of a php.ini or php-cli.ini file.=0A= ------=_NextPart_000_065F_01C6D838.8A52FAE0--