Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40369 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21546 invoked from network); 8 Sep 2008 19:04:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2008 19:04:38 -0000 Authentication-Results: pb1.pair.com header.from=auroraeosrose@shitennou.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=auroraeosrose@shitennou.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain shitennou.com from 208.83.222.18 cause and error) X-PHP-List-Original-Sender: auroraeosrose@shitennou.com X-Host-Fingerprint: 208.83.222.18 unknown Linux 2.6 Received: from [208.83.222.18] ([208.83.222.18:46447] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F6/B9-13670-54775C84 for ; Mon, 08 Sep 2008 15:04:38 -0400 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id 28CDD98DBC9; Mon, 8 Sep 2008 12:03:53 -0700 (MST) Received: from [192.168.1.101] (24-247-219-180.dhcp.cdwr.mi.charter.com [24.247.219.180]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id A70DE91E130; Mon, 8 Sep 2008 12:03:52 -0700 (MST) Message-ID: <48C57761.5030708@shitennou.com> Date: Mon, 08 Sep 2008 15:05:05 -0400 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Stanislav Malyshev CC: internals@lists.php.net References: <486FA5FB.1000300@php.net> <48C55855.4080602@zend.com> <48C5624A.1040901@zend.com> <48C56743.2060706@zend.com> <48C56821.2040805@shitennou.com> <48C5695E.1010404@zend.com> <48C56A51.1000307@shitennou.com> <48C56CEE.6050807@zend.com> <48C56DED.4010407@shitennou.com> <48C57045.6020003@zend.com> <48C5715C.2070102@shitennou.com> <48C574E8.1030504@zend.com> In-Reply-To: <48C574E8.1030504@zend.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] Re: towards a 5.3 release From: auroraeosrose@shitennou.com (Elizabeth M Smith) Stanislav Malyshev wrote: >> If functions in namespaces won't have the same treatment or features as >> classes why bother ;) > > Functions can't have the same features as classes, because then they'd > be classes :) That's not what I meant and you know it (sighs) Bottom line, being able to alias in functions the same way you can classes would be useful. You could also shoot yourself in the foot. You can alias in classes. You can shoot yourself in the foot with that as well. You can do lots of bad things to yourself in PHP (I'm just waiting until goto hits...) - I just think that it would be nice to have a common function (personal use case - a library string translation function) that could be called over and over again without having to add the namespace before it. The other thing this would solve is issues with ambiguity in namespacing. Granted, that's stupid design. But someone is going to do it, and it is a workaround rather than forcing the redesign of all the code. Anyway, this is just one of my issues (and a rather small one) with namespaces. Can we get back to autoload problems? (and no text before opening