Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40547 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24855 invoked from network); 18 Sep 2008 17:38:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2008 17:38:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike503@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike503@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.46.28 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mike503@gmail.com X-Host-Fingerprint: 74.125.46.28 yw-out-2324.google.com Received: from [74.125.46.28] ([74.125.46.28:61550] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/76-26624-72292D84 for ; Thu, 18 Sep 2008 13:38:49 -0400 Received: by yw-out-2324.google.com with SMTP id 5so695ywb.83 for ; Thu, 18 Sep 2008 10:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=f/mnqaW5r1qmT5edlA0dx4fTPEVQqeRCQsPcsRceV3o=; b=pmAFbERJXB5Zv7KidxyU8XGSAbB4UdTyO5DIcIsy8LgbzZmi++YIhMkJDcz835IDaq srIdEpRsw/VzzM6iQyicFb921Rz392dkAjCVX0ImR0yCIy94/A3DFZAgb/bT5t8zLDj3 8cfxmWqPMwBV+loBf/FhZkENHAmjoOBMMLs1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ETpEKC11rhM0PA/x95rk/qPuBfpwEnrAPSL/tVj1q+aRQn3bkrYzxOcq1U8NOIRme5 ZbkoEP48QfaklpwqtOQ4cbQiOE+DMkjXZ88D//NtiU+Pmm4F6gNgOSohOk7t08ZZCpWh 0YzEIkQV57qmoSGQ45BmRo6BeNIi11HguiybE= Received: by 10.142.214.5 with SMTP id m5mr1103681wfg.257.1221759524094; Thu, 18 Sep 2008 10:38:44 -0700 (PDT) Received: by 10.142.102.11 with HTTP; Thu, 18 Sep 2008 10:38:43 -0700 (PDT) Message-ID: Date: Thu, 18 Sep 2008 10:38:43 -0700 To: "marius popa" Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc From: mike503@gmail.com (mike) On Thu, Sep 18, 2008 at 7:47 AM, marius popa wrote: > I was looking at the examples used in php.js library > http://phpjs.org/functions/index > and it struck me that is cleaner to read the functions and code without the > $ names in it > > From what i understand $ in front of variables is an Perl legacy This is an utterly horrible idea. No offense. Why would you change the entire syntax of the language? I don't think any language has -ever- changed it's syntax like that once it's been established... Personally I love the $. It makes it so much easier to identify variables. It's a single character. Can't see the need honestly to even bring this up.