Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43644 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70514 invoked from network); 7 Apr 2009 07:55:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2009 07:55:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.218.215 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 209.85.218.215 mail-bw0-f215.google.com Received: from [209.85.218.215] ([209.85.218.215:59159] helo=mail-bw0-f215.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F2/D8-12298-FE60BD94 for ; Tue, 07 Apr 2009 03:55:28 -0400 Received: by bwz11 with SMTP id 11so2156009bwz.23 for ; Tue, 07 Apr 2009 00:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=YonIpmCZC09biEAGKLFD1E/t4vIaE137OEw9TTJ/SPI=; b=DyPcNL0QR0LHk9Vm8uKxoOLXsc8dD5cP64a18G00UuPd829Oz9xMFFLr3spILphL1S n2ImL88t5Lu+oKp9XjOok6c9eJUKSoGPHv3ujSXwr7YBiMtj7nOgb9fbO/8KQEoYRput QnuUZ+Z66tBx+RHzS+IJfM51TKtQWLvkvBOiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=JWikKJNpkwJtKtzrc8e86bMMZwN9fxvFwwwh13QcdPA+hIG463NjArDTDA5s31b8+N zaJQQ8KcM188MBH0xHADQAAjXfuYZb2zi8qNEKZLMu6H4e3LZHz37RdA8zH0TEhhOHz8 9UFPxwsggeM2U+73ZD+xsyrwsLaoc+HLmazm4= MIME-Version: 1.0 Received: by 10.223.111.134 with SMTP id s6mr4091892fap.60.1239090924323; Tue, 07 Apr 2009 00:55:24 -0700 (PDT) Reply-To: RQuadling@googlemail.com Date: Tue, 7 Apr 2009 08:55:09 +0100 Message-ID: <10845a340904070055m262af976ge8db476db38119a0@mail.gmail.com> To: PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Closure serialization. From: rquadling@googlemail.com (Richard Quadling) Hi. Currently you cannot serialize a closure. That certainly makes sense. But would it be possible/feasible that a closure could be serialized if the value returned was the byte code used by the engine to execute the compiled closure? Or is this one of the "don't go there" ideas I sometimes get? Regards, Richard Quadling. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"