Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69680 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42822 invoked from network); 18 Oct 2013 13:37:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Oct 2013 13:37:55 -0000 Authentication-Results: pb1.pair.com header.from=cryptocompress@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cryptocompress@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.215.180 as permitted sender) X-PHP-List-Original-Sender: cryptocompress@googlemail.com X-Host-Fingerprint: 209.85.215.180 mail-ea0-f180.google.com Received: from [209.85.215.180] ([209.85.215.180:35705] helo=mail-ea0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/A3-23638-1B931625 for ; Fri, 18 Oct 2013 09:37:54 -0400 Received: by mail-ea0-f180.google.com with SMTP id h10so2002654eaj.11 for ; Fri, 18 Oct 2013 06:37:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=X9pypeb0AroVeYUX3yNFQLbH/uh+GNLP+fp8+H0E1/c=; b=K3Fp8ZHOlo+HTX8b96CVd5zFuOj44jCqa6m8QkBgLD8I156ElmRneVPmyFYQHul1K6 EPp9e4AaYcm4A1DvyUuZPcGYha5OLbWJWJ8PCC+5tZzzWX6fWXV9/Ifs2Ep3BXdqdxIa IDqoTq4IGeIzmCxweYXkvGpIK7ecookuLLRFIrEcj9Mso+HUzlAcg8xJfCZBwiIuMBV6 Ye3Rda+y4d3nU9M1Pgo85XNXnh8jmiSMaklvW8pj/Tr0YUteJv1fgFXc9Z+4dQRS9dxp c6UpyC4fc68+jI9wYGd6Y5RBUrc1LxY7RerkPNGAT6aH+rPzu8sDeFJ9h4j6F/SZlZ0d nzqw== X-Received: by 10.14.89.7 with SMTP id b7mr4679288eef.10.1382103470663; Fri, 18 Oct 2013 06:37:50 -0700 (PDT) Received: from [192.168.1.115] (mnch-5d872902.pool.mediaWays.net. [93.135.41.2]) by mx.google.com with ESMTPSA id i1sm4713771eeg.0.2013.10.18.06.37.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 06:37:49 -0700 (PDT) Message-ID: <526139AE.3000103@googlemail.com> Date: Fri, 18 Oct 2013 15:37:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: PHP Developers Mailing List References: <525C631E.1050008@gmail.com> <52610FFE.7020806@googlemail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Proposal to deprecate create_function() From: cryptocompress@googlemail.com (Crypto Compress) > I guess he is trying to say that writing a factory method for > producing callable/anonymous functions are easier with create_function > than with closures, because you call eval implicitly, instead of > explicitly. > Exactly this historical "factory method" part is it. Thank You! sort of documentation for the previous link: https://github.com/phpcr/phpcr-utils/blob/master/src/PHPCR/Util/Console/Command/NodesUpdateCommand.php#L62 https://github.com/phpcr/phpcr-utils/blob/master/src/PHPCR/Util/Console/Helper/PhpcrCliHelper.php#L111 Not shure about a "safer version" with different name. Maybe breaking BC is acceptable to some degree, if touching and refactoring this to same codebase as closures.