Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45315 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49020 invoked from network); 18 Aug 2009 23:46:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Aug 2009 23:46:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=evertpot@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=evertpot@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.211.180 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: evertpot@gmail.com X-Host-Fingerprint: 209.85.211.180 mail-yw0-f180.google.com Received: from [209.85.211.180] ([209.85.211.180:65531] helo=mail-yw0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/62-33543-64D3B8A4 for ; Tue, 18 Aug 2009 19:46:14 -0400 Received: by ywh10 with SMTP id 10so7620780ywh.7 for ; Tue, 18 Aug 2009 16:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=NQhPCh11iVH5dewgwQWzm9/N3iSU5y/06ZrZYDf0pB0=; b=lt7oefkZiZTC+WLjqHsQuPonQUEftrfexcuzh5+OCUZ9NXr32nhD4jwtQL2/LKO585 SHvx4aK5weKaxIVtvx6pcrS6LUedWLIIfMRcsi6SNbf/N/RGejq/JyF6vGrJ3wQYsn2A lt+ylczBdTHvEn8b+c+2fHI4GjjmaSeThBYsM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=Lis6bP89G/RrJcxTUeg2shtwmVnnNmIzjEDKpHlK1ubQLlLUJOTuNPwiPXRpyaVjyX ZO3/feW2j6aE4URM9II6neJaDPKqfOjw7utgo+RNHJDp5LZpKnaR/Iblmur8uileIanD zeOaPYwHM92gd3tFyGjlCY4DPP2D5+SO6RQxY= Received: by 10.91.141.6 with SMTP id t6mr4249372agn.49.1250639171193; Tue, 18 Aug 2009 16:46:11 -0700 (PDT) Received: from ?192.168.1.105? (h60208.upc-h.chello.nl [62.194.60.208]) by mx.google.com with ESMTPS id 38sm1723928agd.9.2009.08.18.16.46.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 18 Aug 2009 16:46:09 -0700 (PDT) Sender: "Evert | FM" Cc: PHP Developers Mailing List Message-ID: To: Chris Stockton In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 19 Aug 2009 01:46:06 +0200 References: X-Mailer: Apple Mail (2.936) Subject: Re: [PHP-DEV] Re: Regarding serialize From: evert@filemobile.com (Evert | Filemobile) Protected properties are serialized as: 0x00 + * + 0x00 + property name The null characters don't show up in your console, but pipe the output through for example 'hexdump -C' and you should see them.. Evert On 19-Aug-09, at 1:37 AM, Chris Stockton wrote: > Apologies for the double post, but the output might help... long day. > Notice the strlen is different, as well as the truncation on > escapeshellarg. > > -- > > string(43) "O:13:"testSerialize":1:{s:7:"*_foo";a:0:{}}" > string(45) "O:13:"testSerialize":1:{s:7:"*_foo";a:0:{}}" > bool(false) > string(45) "'O:13:"testSerialize":1:{s:7:"*_foo";a:0:{}}'" > string(31) "'O:13:"testSerialize":1:{s:7:"'" > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >