Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100668 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15643 invoked from network); 16 Sep 2017 09:52:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2017 09:52:16 -0000 Authentication-Results: pb1.pair.com header.from=ilija.tovilo@me.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ilija.tovilo@me.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain me.com designates 17.142.194.252 as permitted sender) X-PHP-List-Original-Sender: ilija.tovilo@me.com X-Host-Fingerprint: 17.142.194.252 pv33p00im-asmtp003.me.com Received: from [17.142.194.252] ([17.142.194.252:57603] helo=pv33p00im-asmtp003.me.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/0E-19300-D44FCB95 for ; Sat, 16 Sep 2017 05:52:14 -0400 Received: from process-dkim-sign-daemon.pv33p00im-asmtp003.me.com by pv33p00im-asmtp003.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0OWD00N009NRPX00@pv33p00im-asmtp003.me.com> for internals@lists.php.net; Sat, 16 Sep 2017 09:51:59 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=04042017; t=1505555519; bh=FHgyOOCYbmXHVa9SkEZcn4hiEpqadKsbxl67O86xdz8=; h=Date:From:To:Message-id:Subject:MIME-version:Content-type; b=DmeAY9yLUMXHj5PQPCVJSZqeHYGeHoRFUCWUQUG+cbNEw0HEYwL+RByUzm8pyi9P8 MrztDFrP0N4bMEsfCIamYEKJqDZp7Bwomb8JdY/QI0oWcr30YjKyJet4oOe3FCu9uC vzdCvBztDymrRYP+/4gVopOlKRHdLqJKiu+iK+FaYGIu09tfQFF170Iw/2ylxvhPE0 iqnZ6VUcjJp0yzvQqIZB2gNexAK2n7u1LqeY+otqCvmPzRWWHv0HsCnMZY2idc1Xtb GTBB80RmpwKJSvYq1o2mpd/x6YN3Ucb4Ygeq20mg0uIFtrkWZwURSa79r30X6LD283 Ml8Avy+Inr3oQ== Received: from icloud.com ([127.0.0.1]) by pv33p00im-asmtp003.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPSA id <0OWD00646A2IR830@pv33p00im-asmtp003.me.com>; Sat, 16 Sep 2017 09:51:57 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-09-16_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=74 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1709160150 Date: Sat, 16 Sep 2017 11:50:54 +0200 To: internals@lists.php.net, "=?utf-8?Q?lists=40rhsoft.net?=" Message-ID: In-reply-to: <5058525d-ac79-5179-f847-9cc1f82ae316@rhsoft.net> References: <097578bf-ab74-44cf-a465-dc6fdd50930f@Spark> <7005b428-1615-46c5-a2aa-a7406c17eeeb@Spark> <5058525d-ac79-5179-f847-9cc1f82ae316@rhsoft.net> X-Readdle-Message-ID: c88af595-de95-4f5e-ac9d-4b9a3e77f50f@Spark MIME-version: 1.0 Content-type: multipart/alternative; boundary=59bcf437_74b0dc51_7ae1 Subject: Re: [PHP-DEV] [RFC] Deprecate the extract function in PHP 7.3 From: ilija.tovilo@me.com --59bcf437_74b0dc51_7ae1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline That=E2=80=99s fine, I have no problem with feedback. I changed my mind o= nce other people pointed out the flaws in my thinking. Politely. Sorry for spending my free time thinking about how to make PHP better. I=E2= =80=99m not claiming to be an expert in any means, hence the R=46C. On 16 Sep 2017, 11:49 +0200, lists=40rhsoft.net , wro= te: > > > Am 16.09.2017 um 11:44 schrieb ilija.tovilo=40me.com: > > Dude, calm down. > > dude when people have no other hobbies than think about removing > functionality for *no gain* > > > This was a request for feedback > > then you should withstand the feedback=21 > why don't you spend your time for *add* features instead cripple things= =3F > > > As other people have pointed out before > > it may not be the best idea to remove it since there=E2=80=99s no goo= d way to > > write the equivalent code in PHP. No reason to be rude. > > > > On 16 Sep 2017, 11:42 +0200, lists=40rhsoft.net ,= wrote: > > > > > > > > > Am 15.09.2017 um 20:27 schrieb Arvids Godjuks: > > > > well, basically, none. Results are from a Q6600 machine and under= > > > > windows, > > > > so your mileage probably gonna be quite better :) > > > > > > well, and now implement the EXTR=5FSKIP in PHP code - that becomes = a ugly > > > piece of code and that only because someone likes to remove a alrea= dy > > > existing function nobody is forced to use=3F > > > > > > sadly i am not allowed to say what i think in public... > > > > > > > C:=5CUsers=5Cpsihius=5CDocuments=5Cweb>php -v > > > > PHP 7.1.5 (cli) (built: May 9 2017 19:48:36) ( NTS MSVC14 (Visual= C++ > > > > 2015) x64 ) > > > > Copyright (c) 1997-2017 The PHP Group > > > > Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies > > > > C:=5CUsers=5Cpsihius=5CDocuments=5Cweb>php -d memory=5Flimit=3D-1= test.php > > > > 6.884626150131226 - Creating arrays > > > > 2.035606861114502 - foreach > > > > 2.128609180450439 - extract > > > > > > > > The code: > > > > > > > > define('ITERATIONS', 10000000); > > > > > > > > =24=5F=5Ftime =3D microtime(true); > > > > > > > > =24=5F=5Farray =3D =24=5F=5Farray2 =3D =5B=5D; > > > > for (=24=5F=5Fi =3D 0; =24=5F=5Fi < ITERATIONS; ++=24=5F=5Fi) =7B= > > > > =24=5F=5Farray=5B'a'.=24=5F=5Fi=5D =3D =24=5F=5Fi; > > > > =24=5F=5Farray2=5B'b'.=24=5F=5Fi=5D =3D =24=5F=5Fi; > > > > =7D > > > > echo number=5Fformat(microtime(true) - =24=5F=5Ftime, 15, '.', ''= ), PHP=5FEOL; > > > > > > > > =24=5F=5Ftime =3D microtime(true); > > > > foreach (=24=5F=5Farray as =24=5F=5Fkey =3D> =24=5F=5Fvariable) =7B= > > > > =24=24=5F=5Fkey =3D =24=5F=5Fvariable; > > > > =7D > > > > echo number=5Fformat(microtime(true) - =24=5F=5Ftime, 15, '.', ''= ), PHP=5FEOL; > > > > > > > > =24=5F=5Ftime =3D microtime(true); > > > > foreach (=24=5F=5Farray2 as =24=5F=5Fkey =3D> =24=5F=5Fvariable) = =7B > > > > =24=24=5F=5Fkey =3D =24=5F=5Fvariable; > > > > =7D > > > > echo number=5Fformat(microtime(true) - =24=5F=5Ftime, 15, '.', ''= ), PHP=5FEOL; > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --59bcf437_74b0dc51_7ae1--