Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84293 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93064 invoked from network); 4 Mar 2015 16:27:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Mar 2015 16:27:02 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.169 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.223.169 mail-ie0-f169.google.com Received: from [209.85.223.169] ([209.85.223.169:42597] helo=mail-ie0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/E4-56703-55237F45 for ; Wed, 04 Mar 2015 11:27:01 -0500 Received: by iecvy18 with SMTP id vy18so4473167iec.9 for ; Wed, 04 Mar 2015 08:26:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=yo1GssrIrGhM2V8SnntKyDk/YXKE9kOHcygULh+uOkI=; b=bMkRDcrM8klhUIVTystKAHXQQY9ikDvu/DkOaOt/RrsMCN74rMs4aDERt2UA3FUrsh AVGp5c5Oc4faT4vhdvQV5v691jhQSlNWybX7l3y5WdRluPC8MCk/51f/eSEE2sRQeQKX 7NO5mB36FgPxAskr5l1AG83T4JWBkGTdxeVxsuNZ8OB3hXnIXfLNqySrdFsgpZRNdH3M yEth7ESRsS6vFc3igByRi9SHm7zsMAKCFkm0lLCdqFGTdG1vE7xee/VFY77nZRAmuYwe WXFjdp/GeR4p8+eamxwF8Z0fYzq3PWZM4wLfGGOLH/obMPCktLPaZtlgF3Q3N/noDSos FIPg== X-Received: by 10.50.143.106 with SMTP id sd10mr12537789igb.17.1425486418159; Wed, 04 Mar 2015 08:26:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.49.97 with HTTP; Wed, 4 Mar 2015 08:26:36 -0800 (PST) In-Reply-To: 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> <54F72360.6000702@lerdorf.com> Date: Wed, 4 Mar 2015 11:26:36 -0500 Message-ID: To: Trevor Suarez Cc: Rasmus Lerdorf , Yasuo Ohgaki , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1135fbe2962f9d051078eb87 Subject: Re: [PHP-DEV] Consistent function names From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") --001a1135fbe2962f9d051078eb87 Content-Type: text/plain; charset=UTF-8 @Rasmus: I don't see what's the problem of aliasing functions for the next 1-2 majors, deprecate the inconsistent one in the following and remove later. On Wed, Mar 4, 2015 at 10:33 AM, Trevor Suarez wrote: > ... well that's a constructive way of going about it. I don't think Yasuo > did anything harmful or rude in making his proposal. Regardless of how > realistic the idea may be, I don't think its ever appropriate or > constructive to tell someone to simply "stop" because something "is just > ridiculous". > > On Wed, Mar 4, 2015 at 10:24 AM Rasmus Lerdorf wrote: > > > On 03/03/2015 07:34 PM, Yasuo Ohgaki wrote: > > > Hi Michael, > > > > > > On Wed, Mar 4, 2015 at 12:15 PM, Michael Schuett < > > michaeljs1990@gmail.com> > > > wrote: > > > > > >> 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 > the > > >> old stuff. Your matrix is a very weak push to do so. If you want to > make > > >> these changes it would be better to choose a select set such as the > > array > > >> functions and try and push that through or see what that change might > > look > > >> like and if it's really beneficial to userland. > > > > > > > > > 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 > > fatal > > > and other > > > languages apps do not have script/file inclusions as PHP apps do. > Others > > > 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) > > > > > > 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 > > > > > > > -- Guilherme Blanco MSN: guilhermeblanco@hotmail.com GTalk: guilhermeblanco Toronto - ON/Canada --001a1135fbe2962f9d051078eb87--