Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59548 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83947 invoked from network); 9 Apr 2012 20:39:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Apr 2012 20:39:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=luke@cywh.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=luke@cywh.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cywh.com from 209.85.212.42 cause and error) X-PHP-List-Original-Sender: luke@cywh.com X-Host-Fingerprint: 209.85.212.42 mail-vb0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:45335] helo=mail-vb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A7/EA-34074-009438F4 for ; Mon, 09 Apr 2012 16:39:28 -0400 Received: by vbjk13 with SMTP id k13so2979750vbj.29 for ; Mon, 09 Apr 2012 13:39:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=QOE5+JMTD4VcxGabYRUcQguvHPeGK+ZpjGSNUiqeGI0=; b=STisv+uMyk9id2lhLVlgzwXQQPnOiKnt3QxASm54JRXnRDb6zeAEk0AgR8O6ycHhJG qhk/KSpmjXSN1f9u/fz5aN2OLESy0+JuH5dc7aUyXSxSuWE9x6x1PLYr+Mt5XxSk6Ulq UMgV2t60eCBxqPVqBFCixmY5l1C4NfXtFPhensbCMOCISwCT5bOE9Uq1R7KkyHzsuNBN outf08wBi2A/Jam1AA7/SB8pLuessfKvnQwu/Gbu34eDWAemA+GPGwEP5160wOi48ziM 3VZP58F4+6R1O1hqHw8+IOeyXYwuL1T7DThxBV/xr9S1ddHUuQPsEQSa22AxM8ChXhHU Tb6A== Received: by 10.220.232.68 with SMTP id jt4mr2499809vcb.11.1334003966039; Mon, 09 Apr 2012 13:39:26 -0700 (PDT) References: <11343239.3338.1333757773882.JavaMail.mobile-sync@iakr3> <1722329293808329363@unknownmsgid> <4F7FD377.9030207@sugarcrm.com> <-8675298664786638901@unknownmsgid> In-Reply-To: Mime-Version: 1.0 (1.0) Date: Mon, 9 Apr 2012 13:35:41 -0700 Message-ID: <-7601220263474761706@unknownmsgid> To: Pierre Joye Cc: Stas Malyshev , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQljXeteo7+AJthoWaN3LtJGCOTVdtJeH6dGSj7I3wj5FDan8GxdcA1ZCptjxOWFMbZ95v3m Subject: Re: [PHP-DEV] Persistent zvals From: luke@cywh.com (Luke Scott) Pierre, On Apr 7, 2012, at 11:14 AM, Pierre Joye wrote: > Something I have been discussed in the past with a couple of persons > is to have a mechanism to automatically instantiate objects on request > start. That's not persistent objects but that could already boost a > little it the base foot print of some frameworks. Would you be able to go into more detail on how this would be implemented? Could something like this be done with a zend extension? Would it involve loading a "loader.php" file and then taking a snapshot of the memory state, or something like that (before loading the actual file index.php file, similar to the prepend feature)? Luke