Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84289 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83935 invoked from network); 4 Mar 2015 15:23:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Mar 2015 15:23:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain lerdorf.com designates 209.85.192.179 as permitted sender) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.192.179 mail-pd0-f179.google.com Received: from [209.85.192.179] ([209.85.192.179:33492] helo=mail-pd0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/53-56703-56327F45 for ; Wed, 04 Mar 2015 10:23:19 -0500 Received: by pdev10 with SMTP id v10so11688052pde.0 for ; Wed, 04 Mar 2015 07:23:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=oNMsXPhqg+knqnN92m8fRQ7K/UFy0a1Qa7TdLbO1wGQ=; b=PjmmlaAniKWQ6Qixn5yF9ulN//30rGd+CBlO8SCMyV2Lkfplq7HRjM8l78SLGHlIkC PTOvvrSjsAjGNCCc9anuVy38xILRfRetRoox/fmIEhvVk4JUJgqgwxm2PW3FjD1UiI0X elZqrwscr/Z8YRi+tP3Oygp7r6edhmbixVLtSgznxgQD3RA9g/3gNwex632LC5HG7LE+ Cer6NptA8g//dffdRZyknLUl4CrTis7s+zVultpn44qv1h3VS2O8zoT49eDETjmGWdmm 8kBO8YnHE1xvc22CT1DfhZUpvdjAeLCE+31Wl1sugJKZUOy+PtY9mfXEkzwKTgdGe9wt qFZA== X-Gm-Message-State: ALoCoQm0sXxRwfJSBbIlY0PiU5nK/AsK7DgWoKb32TuFaJPM9a/WHyMdHzjCZiaE/HBpelGdKw4Q X-Received: by 10.68.197.133 with SMTP id iu5mr7522132pbc.131.1425482594802; Wed, 04 Mar 2015 07:23:14 -0800 (PST) Received: from [192.168.200.14] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPSA id bx13sm4385320pdb.19.2015.03.04.07.23.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Mar 2015 07:23:13 -0800 (PST) Message-ID: <54F72360.6000702@lerdorf.com> Date: Wed, 04 Mar 2015 07:23:12 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Yasuo Ohgaki CC: "internals@lists.php.net" References: <54F4E29D.7080501@garfieldtech.com> <54F4E93C.80206@gmail.com> <54F4EBEC.2090702@garfieldtech.com> <54F4F3FC.6060501@fischer.name> <54F4FDFB.8010701@lsces.co.uk> <54F5895D.3090002@gmail.com> <554F0C3F-770F-4694-A5AB-FDC54FCCBF00@gmail.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aTiaXR8GTIUtqKfvb3nPs84jga1GvKvMi" Subject: Re: [PHP-DEV] Consistent function names From: rasmus@lerdorf.com (Rasmus Lerdorf) --aTiaXR8GTIUtqKfvb3nPs84jga1GvKvMi Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/03/2015 07:34 PM, Yasuo Ohgaki wrote: > Hi Michael, >=20 > On Wed, Mar 4, 2015 at 12:15 PM, Michael Schuett > wrote: >=20 >> Your evaluation is pretty anecdotal. I agree with some points but you = need >> some solid evidence if you are going to rate these languages. Also do = you >> have a list of all the functions you would like to rename or is this a= >> sweeping lets just change everything so it matches and deprecate all t= he >> old stuff. Your matrix is a very weak push to do so. If you want to ma= ke >> these changes it would be better to choose a select set such as the ar= ray >> functions and try and push that through or see what that change might = look >> like and if it's really beneficial to userland. >=20 >=20 > I agree that my evaluation is subjective. For example, I rate PHP has "= 1" > security only > because PHP is very weak against script/file inclusions because it's fa= tal > and other > languages apps do not have script/file inclusions as PHP apps do. Other= s > might > rate "2" or even "3" because it is too easy to fix it even if incident = is > fatal. > (Security should be evaluated by "how difficult to make mistakes", not = "how > easy to > fix mistakes" generally. IMHO) >=20 > I made list of rename candidates > https://wiki.php.net/rfc/consistent_function_names#list_of_functions_to= _be_renamed > If you have suggestions, I appreciate! Yasuo, please stop. This isn't going to happen. Changing strlen() to str_len() is just ridiculous. -Rasmus --aTiaXR8GTIUtqKfvb3nPs84jga1GvKvMi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlT3I2AACgkQlxayKTuqOuAUDwCeLMF5CIEAU6u/WORDEkUioxSG v1MAnRpP6yApevbJ9YhxOV4FmEtu8/wP =/GMy -----END PGP SIGNATURE----- --aTiaXR8GTIUtqKfvb3nPs84jga1GvKvMi--