Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68316 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6423 invoked from network); 26 Jul 2013 09:53:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jul 2013 09:53:40 -0000 Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.179 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.216.179 mail-qc0-f179.google.com Received: from [209.85.216.179] ([209.85.216.179:59565] helo=mail-qc0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BC/B2-25917-32742F15 for ; Fri, 26 Jul 2013 05:53:39 -0400 Received: by mail-qc0-f179.google.com with SMTP id d1so1448829qcz.24 for ; Fri, 26 Jul 2013 02:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=YHxmgWCJPnJe/rvjp94z46DUH6/o39XjIwMJDsZQHc0=; b=iV6zG8mRuU6B7hiOZ9XM/V/Vo9Zt8/461Nhtpl2Pzz5sVEKxWrs0+QIRnPxwddSsCd TQUkHGIWC7x/zI+22cVYpvCiGs09AqGhWAUQehJOBhfZwUz4ecYDeE/hc6JMq9TQOeNc ybaH/2Mf0gAoQ6cR1hQU2jT8hw4SWVwIUUxaFU4F/b8hvt7eKcM0e6VCSea4eBKXcndw zU7O4PdCACySOz6UVtPx7KO0oxOw9HI+Sl+2YmfSrkv8UEPkTifTDZeh1mWl2zhum73D KLE5dEa02KB8w688484YJC1Cj2iuI5HeiL1i6zQ6PoHXST5dFOY1HA35rtSLoSC/q0jQ +amg== MIME-Version: 1.0 X-Received: by 10.49.74.227 with SMTP id x3mr53183706qev.29.1374832416905; Fri, 26 Jul 2013 02:53:36 -0700 (PDT) Sender: jakub.php@gmail.com Received: by 10.224.178.69 with HTTP; Fri, 26 Jul 2013 02:53:36 -0700 (PDT) In-Reply-To: <51F18BEF.8000305@nebm.ist.utl.pt> References: <51F18BEF.8000305@nebm.ist.utl.pt> Date: Fri, 26 Jul 2013 10:53:36 +0100 X-Google-Sender-Auth: g6cHGJJZgmPrzW63hfDdbDIyoyE Message-ID: To: Gustavo Lopes Cc: PHP internals list , "nikic@php.net" Content-Type: multipart/alternative; boundary=047d7bdc08c2d5dd9504e2671d1f Subject: Re: [PHP-DEV] New handler for retrieving properties when object is serialized From: bukka@php.net (Jakub Zelenka) --047d7bdc08c2d5dd9504e2671d1f Content-Type: text/plain; charset=ISO-8859-1 > You can check for BG(serialize_lock) instead of GC_G(gc_active) > What if there was an extension that call php_var_serialize without locking? I know there probably isn't any but still I don't think that this is a nice way how to provide data for serialization. > What I think is that we should add an extra parameter to get_properties > instead of keeping adding these. > That would be nice. I will send a patch later and then we can discuss it... ;) --047d7bdc08c2d5dd9504e2671d1f--