Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111830 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 29633 invoked from network); 3 Sep 2020 17:01:47 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Sep 2020 17:01:47 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9D131180088 for ; Thu, 3 Sep 2020 09:06:59 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 3 Sep 2020 09:06:59 -0700 (PDT) Received: by mail-lj1-f174.google.com with SMTP id k25so4355603ljg.9 for ; Thu, 03 Sep 2020 09:06:59 -0700 (PDT) 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=2Ml8DNp4mBXxnP91DrFxPoqh33x4RJsDMCGqhGZLnj8=; b=oQK1ZbkXmdDOasah2cRoKN5SI42r+ODlF5Tigyz57vqYL1oGsbYEkMivp0zGtCvWSG nuI/inqclfsG3WEnx6cBhGpT3z41zl+wsczflYmvVPTaVJ1izsXqVRDrpelDmuHJhDyg JTJrwR8VZruGSIzgHZkNirUX26cY4YOJDZitDxInMGni8NqyVh2Ln4arunrVJG6xg/dl HQeA63RyeCwyjSf+uBu2s0vdUoH3t0G2u/haz0Ae47ALCRQyoGAyns9nyP+QAec7ahRF vwez5nXXIsW23eTLmbyrU4Ha9EH5fFSc7isRTUWeHKdF3zGSJfRZzax6LJlzRO5gNOj7 by0w== X-Gm-Message-State: AOAM533ffzI1f4f9NXnMYX063MxPT0PRBzwf758qwvL7p8HfGA8wvN5i eNLgwZxgSyko3Ib6T80FF6Jxa9lAICNV/sbOfisKug== X-Google-Smtp-Source: ABdhPJzpVVUYRChtMGJBRD+rn2Mlb17RZUyJHHlJ1mpGYZZOd8kpbjp7qGoxwxFistl+LkFg5bkYM7XHC6cOH3nCXuA= X-Received: by 2002:a2e:3a19:: with SMTP id h25mr1589476lja.398.1599149217309; Thu, 03 Sep 2020 09:06:57 -0700 (PDT) MIME-Version: 1.0 References: <2868e0ed4e7ebc09b568471c913079516f93fd2fc95e97b0ffea192db1e04275@mahalux.com> In-Reply-To: Date: Thu, 3 Sep 2020 11:06:46 -0500 Message-ID: To: David Rodrigues Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000000af71c05ae6af1ec" Subject: Re: [PHP-DEV] Pass source object to clone like __clone($origThis) From: pollita@php.net (Sara Golemon) --0000000000000af71c05ae6af1ec Content-Type: text/plain; charset="UTF-8" On Thu, Sep 3, 2020 at 11:03 AM David Rodrigues wrote: > It was just an example to avoid modify how clone works, using existing > features. :) > Right, but the question remains "Why would we want the original object during a clone operation?". No legitimate example of that has been provided yet. -Sara --0000000000000af71c05ae6af1ec--