Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67082 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24542 invoked from network); 15 Apr 2013 02:56:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2013 02:56:44 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.178 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.217.178 mail-lb0-f178.google.com Received: from [209.85.217.178] ([209.85.217.178:54433] helo=mail-lb0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 88/E8-41225-96C6B615 for ; Sun, 14 Apr 2013 22:56:42 -0400 Received: by mail-lb0-f178.google.com with SMTP id q13so4047996lbi.23 for ; Sun, 14 Apr 2013 19:56:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=2dwHkTpyWDlfGMCJc28sno1Efg3wAqx9E1MnXdLyaPw=; b=a962S/K4uNxsTSKcx4VrF3dWW73kOU64Duvqafyee+oYgHn1t2UDDNuDKH4rmCDtFi FlAOuzGEUCUw7r+To0z4exofvK3qRTAMmEETTBH723VGxGXgLk/OdQLmSzFhI/m2U+1b ti+c2c6et6c2TWQv0R3EMRH5wsbcqB8In1FVSYFUs2nBasgJ/R95ovtO9WubQafXUyxq uyDsrMVWpH+CAfzY/J8/m2rFcmJ4oT2nB5d+Mp0Te1hTkT2pX2n/VgL8gMiC84qvtbW9 RjG7mfTDnZbMhZAQtwxs6DD0l1UP1rB4hIWYc9nctBd4vY8deLP9c31hlNNP+/FKc1Qm DQ2Q== X-Received: by 10.152.170.136 with SMTP id am8mr9620772lac.35.1365994598664; Sun, 14 Apr 2013 19:56:38 -0700 (PDT) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.114.97.231 with HTTP; Sun, 14 Apr 2013 19:56:18 -0700 (PDT) In-Reply-To: <516489F1.70106@lerdorf.com> References: <51647536.6030108@sugarcrm.com> <516489F1.70106@lerdorf.com> Date: Mon, 15 Apr 2013 10:56:18 +0800 X-Google-Sender-Auth: Jw7jBsITROu1Zo7Q6iC4YrmRA-o Message-ID: To: Rasmus Lerdorf Cc: Madara Uchiha , Stas Malyshev , PHP Internals Content-Type: multipart/alternative; boundary=089e01177205d18fe504da5d6688 Subject: Re: [PHP-DEV] [PROPOSAL] add a leading backslash to classname when serializing/var_exporting From: laruence@php.net (Laruence) --089e01177205d18fe504da5d6688 Content-Type: text/plain; charset=UTF-8 hey: thanks very much for all feedbacks. so, maybe we should document this instead of adding lead backslash? thanks On Wed, Apr 10, 2013 at 5:36 AM, Rasmus Lerdorf wrote: > On 04/09/2013 01:23 PM, Madara Uchiha wrote: > > Well, why would you need to serialize an object in one version of PHP, > > and unserialize it in another? > > Unfortunately people do that all the time. They store serialized > versions of stuff in databases and other backends and even send it > across the wire from one machine to another, so it is quite common for > something serialized in one version to need to be unserialized in another. > > -Rasmus > > -- Laruence Xinchen Hui http://www.laruence.com/ --089e01177205d18fe504da5d6688--