Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106312 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 58258 invoked from network); 28 Jul 2019 21:47:58 -0000 Received: from unknown (HELO mail-io1-f54.google.com) (209.85.166.54) by pb1.pair.com with SMTP; 28 Jul 2019 21:47:58 -0000 Received: by mail-io1-f54.google.com with SMTP id f4so115463067ioh.6 for ; Sun, 28 Jul 2019 12:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lr9sJkd7FuR+zoDpNLR2SpN8lRJPoNRwd9pAn55sR1o=; b=c/NpzlkApBMkGwWKRo1I7qTBsZZ5ZfTn15KCPtgIY4yg1qpFdBZ1cJGhh7q5rj+yVN zWVjntJUkqy2owidMSR8Gq54KToie0WX2fwcS6R1iN1mD/tBYfRxB5Q0PO4d8ep0wIpA ImgcN8XEoVu76cx10mKgfPx2AMWjJ7hjxeS0EXdc/+AhrxEIdw9F2dFSebLkfiOgdzTd UfBDjYKKO6ZRe771XKeelN4tGwT8DbshMdSnmdHTKEJXGrqbgYMJBig1hXSTRFVcFHMe vdPr2ndq/Vqc0aUtqA6A0gyS50GL2buXhZpLfOjvOTd0xMSziW0VxwAUqgNb3bDBcU3+ ywTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lr9sJkd7FuR+zoDpNLR2SpN8lRJPoNRwd9pAn55sR1o=; b=CqbVmTOYPqjEzT3VTtkOthMzxS6Hqhp9jWs3UH+X9OYHLhLvjKfVhibck9RDhHV4Xr AykMxm0xde6GlhwseZJLBc77Z20H09CCqB8ejrjM6NqTB8nD7tV53zV/QvX8R9mYAj8w Fw38E89LBIhQY0ZRIWNbpygEjfUia0nTxJOtUGTO29e1z2fFnISq2gj7ObHqo/WHxjln rEbU94Qlf/ZkQIQFvIw/+nV7liVcQxL8wK4dNSQ5kOCWfo9A5ZNwl3xARynNAC7cPY7X HqxC4jjqHsglTzzgZCPWVRVWaaZ/plNW9u59EzsXY9VkmHNS/+3BHHHdNvx53d6OFbbM 6cvQ== X-Gm-Message-State: APjAAAWimf6SmjuOkPC8Fgm9H4we3g9NNWX5ZHy9H2aca5VGLvmvg7Xz pnRYPVZcI4aDtr1w1q8x1J1g3s92vWLC5xtQYU8= X-Google-Smtp-Source: APXvYqy/xK39n6AQohossXNmOe7LUQb0TH4j2d5g//4eb6aQ6i89RPZdb2/u+opKiIXYviPn/DBaCPcllVL+fnwuAaI= X-Received: by 2002:a05:6638:81:: with SMTP id v1mr58373705jao.72.1564341145875; Sun, 28 Jul 2019 12:12:25 -0700 (PDT) MIME-Version: 1.0 References: <9aba78c9-f04d-45b8-6c34-ad1c2472ef76@gmail.com> <75d04139-b944-f204-f988-959fa6f3e305@gmail.com> In-Reply-To: <75d04139-b944-f204-f988-959fa6f3e305@gmail.com> Date: Sun, 28 Jul 2019 21:12:14 +0200 Message-ID: To: Stanislav Malyshev Cc: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000004eb9c2058ec28e4c" Subject: Re: [PHP-DEV] Re: [RFC] Explicit call-site send-by-ref syntax From: ocramius@gmail.com (Marco Pivetta) --0000000000004eb9c2058ec28e4c Content-Type: text/plain; charset="UTF-8" On Sun, Jul 28, 2019 at 9:06 PM Stanislav Malyshev wrote: > Hi! > > > Nah, by-ref is pretty much avoided in OSS packages, but we can surely > > survey the ecosystem to verify this. > > I literally work with code that uses references every day. So may be you > haven't encountered it but the attitude of "nah, never happens" I think > is a bit misplaced. > Also please remember not all PHP code is latest composer packages. In > fact, most of it isn't. > I do work with code like that: the teams maintaining these codebases are actively removing by-ref calls when they encounter them. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --0000000000004eb9c2058ec28e4c--