Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79511 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19701 invoked from network); 9 Dec 2014 18:58:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2014 18:58:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=dev@mabe.berlin; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dev@mabe.berlin; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mabe.berlin from 80.237.132.167 cause and error) X-PHP-List-Original-Sender: dev@mabe.berlin X-Host-Fingerprint: 80.237.132.167 wp160.webpack.hosteurope.de Received: from [80.237.132.167] ([80.237.132.167:34971] helo=wp160.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/E1-09154-74647845 for ; Tue, 09 Dec 2014 13:58:16 -0500 Received: from dslb-188-102-038-032.188.102.pools.vodafone-ip.de ([188.102.38.32] helo=[192.168.178.30]); authenticated by wp160.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1XyPz9-0000Iv-9q; Tue, 09 Dec 2014 19:58:11 +0100 Message-ID: <54874642.6080508@mabe.berlin> Date: Tue, 09 Dec 2014 19:58:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;dev@mabe.berlin;1418151496;93af9035; Subject: persistent zval From: dev@mabe.berlin (Marc Bennewitz) Hi all, Is it possible to make a zval persistent? Currently I only found persistent resources or internal references used in objects. It would be very great for some userland applications to make a value persistent whatever type it is. Like the internal global "persistent_list" but this one is used for persistent resources and I don't see how to use this one for zval's directly. Additionally it's used internally with unknown hashes so it could be dangerous to export it to userland. Marc