Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66487 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83960 invoked from network); 6 Mar 2013 13:00:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Mar 2013 13:00:07 -0000 Received: from [127.0.0.1] ([127.0.0.1:25198]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id EA/21-03015-7DD37315 for ; Wed, 06 Mar 2013 08:00:07 -0500 Authentication-Results: pb1.pair.com smtp.mail=max.romanovsky@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=max.romanovsky@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.179 as permitted sender) X-PHP-List-Original-Sender: max.romanovsky@gmail.com X-Host-Fingerprint: 74.125.82.179 mail-we0-f179.google.com Received: from [74.125.82.179] ([74.125.82.179:47355] helo=mail-we0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/11-03015-E4B37315 for ; Wed, 06 Mar 2013 07:49:19 -0500 Received: by mail-we0-f179.google.com with SMTP id p43so7986607wea.24 for ; Wed, 06 Mar 2013 04:49:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=/H5gCovI3sX0MEfjLGKPwtmUvjnbea7+wRYvn+f5N70=; b=GqWWcwwkRDnv8ThTIFFVdY0sP7Y3CW+gd30/trX27KbM3tjzJz20vSyT27GgSPzZhs CFnQ3DmW5FKgQE2u+H7M4vjJxtgf8+CfT2SCE7h7C6uNzPSDN4+UtZ7s59RpLKXSsb6L 5gAcFYvTcJvUmFtz1p1ANngsqAN07YUbEl8EbtmeQ+ElO96NeHgpLJOxWM2eiL6b/cH0 fTpdEqO654KamAMEYZ4sluIe4Y5iVc+wlOahEzsiEVYCU/A+87itDxqc5fMLXX1w0kgr pOKJN2/xTcLdmnvQ2loahISOrU6RD+8I4CYhDyDTVZjxtgEOR0kGGDZy7M3BP41ngab5 ry3Q== X-Received: by 10.180.85.97 with SMTP id g1mr25985297wiz.29.1362574155934; Wed, 06 Mar 2013 04:49:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.61.111 with HTTP; Wed, 6 Mar 2013 04:48:35 -0800 (PST) Date: Wed, 6 Mar 2013 15:48:35 +0300 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d0444036c8b738a04d7410427 Subject: Proposed changes to PHP language From: max.romanovsky@gmail.com (Max Romanovsky) --f46d0444036c8b738a04d7410427 Content-Type: text/plain; charset=UTF-8 Dear PHP Community, I'd like to propose several changes to PHP core: 1. Allow re-throwing exceptions without losing original stack trace, like in other technologies: try {/*...*/} catch(Exception $e) { throw; } 2. Introduce base class for all PHP classes. E.g. Object. It would help in type hinting and allow to add new common methods without any magic. 3. Parse body of PUT request in the same manner as it's done for POST request. I guess it should be stored in $_POST array to maintain backward compatibility. Otherwise $_REQUEST handling should be aware of new array with PUT data. 4. Add handling of DateTime objects to SoapServer and SoapClient. It will help in using this build-in datatype without typemap. I tried to google for these proposals, but didn't find any previous discussions. -- Max Romanovsky --f46d0444036c8b738a04d7410427--