<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Reading Serialized PHP Objects from Erlang</title>
	<atom:link href="http://www.metabrew.com/article/reading-serialized-php-objects-from-erlang/feed" rel="self" type="application/rss+xml" />
	<link>http://www.metabrew.com/article/reading-serialized-php-objects-from-erlang/</link>
	<description>Erlang, PHP, C, C++, Java, PostgreSQL, MySQL, Hadoop, Linux, awk, bash, sed, grep, screen, vim, irc, ssh etc...</description>
	<lastBuildDate>Wed, 08 Sep 2010 09:00:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: myrnacid</title>
		<link>http://www.metabrew.com/article/reading-serialized-php-objects-from-erlang//comment-page-1#comment-12427</link>
		<dc:creator>myrnacid</dc:creator>
		<pubDate>Thu, 12 Nov 2009 15:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.metabrew.com/wordpress/?p=15#comment-12427</guid>
		<description>Sorry, for off top, i wanna tell one joke)   What do you get if you cross a giant and a vampire? A BIG pain in the neck! 
___________________________
          --/  &lt;a href=&quot;http://viagera.cheapestrx.info/site_map.html&quot; rel=&quot;nofollow&quot;&gt;viagera  buy  Illinois&lt;/a&gt; /--</description>
		<content:encoded><![CDATA[<p>Sorry, for off top, i wanna tell one joke)   What do you get if you cross a giant and a vampire? A BIG pain in the neck!<br />
___________________________<br />
          &#8211;/  <a href="http://viagera.cheapestrx.info/site_map.html" rel="nofollow">viagera  buy  Illinois</a> /&#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emilio</title>
		<link>http://www.metabrew.com/article/reading-serialized-php-objects-from-erlang//comment-page-1#comment-12087</link>
		<dc:creator>emilio</dc:creator>
		<pubDate>Wed, 04 Nov 2009 23:19:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.metabrew.com/wordpress/?p=15#comment-12087</guid>
		<description>sorry, I forgot to add:
and why in the second array is there not an i:0? eg.
a:2:{s:1:&quot;a&quot;;....

based on the first portion of the code, I would have expected:
a:2:{i:0;s:1:&quot;a&quot;;

why is there no reference to index in the second array?

thanks for any advice, and if you can point me to a reference I would be VERY grateful because I have large, complex data structure serialized (composed of many objects and data types) and its a little hairy at the moment.</description>
		<content:encoded><![CDATA[<p>sorry, I forgot to add:<br />
and why in the second array is there not an i:0? eg.<br />
a:2:{s:1:&#8221;a&#8221;;&#8230;.</p>
<p>based on the first portion of the code, I would have expected:<br />
a:2:{i:0;s:1:&#8221;a&#8221;;</p>
<p>why is there no reference to index in the second array?</p>
<p>thanks for any advice, and if you can point me to a reference I would be VERY grateful because I have large, complex data structure serialized (composed of many objects and data types) and its a little hairy at the moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emilio</title>
		<link>http://www.metabrew.com/article/reading-serialized-php-objects-from-erlang//comment-page-1#comment-12085</link>
		<dc:creator>emilio</dc:creator>
		<pubDate>Wed, 04 Nov 2009 23:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.metabrew.com/wordpress/?p=15#comment-12085</guid>
		<description>I am having a hard time deciphering the serialized string.  In your example above, your array is serialized as:
a:4:{i:0;i:123;i:1;s:5:&quot;hello&quot;;...

this is confusing to me. if the syntax is i:0 means index = 0, and i:123 means the value at [0] = 123, how does unserialize know whether the i: means the index or the value?

sorry if thats a dumb question, i can&#039;t find any information about this syntax anywhere.</description>
		<content:encoded><![CDATA[<p>I am having a hard time deciphering the serialized string.  In your example above, your array is serialized as:<br />
a:4:{i:0;i:123;i:1;s:5:&#8221;hello&#8221;;&#8230;</p>
<p>this is confusing to me. if the syntax is i:0 means index = 0, and i:123 means the value at [0] = 123, how does unserialize know whether the i: means the index or the value?</p>
<p>sorry if thats a dumb question, i can&#8217;t find any information about this syntax anywhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: myracer</title>
		<link>http://www.metabrew.com/article/reading-serialized-php-objects-from-erlang//comment-page-1#comment-11539</link>
		<dc:creator>myracer</dc:creator>
		<pubDate>Sat, 24 Oct 2009 11:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.metabrew.com/wordpress/?p=15#comment-11539</guid>
		<description>I have a good fresh joke for you!   What did the elephant say to the naked man? It&#039;s cute, but can you pick up peanuts with it? 
___________________________
          --/  &lt;a href=&quot;http://viagara.cialsisrx.info/site_map.html&quot; rel=&quot;nofollow&quot;&gt;viagara  generic&lt;/a&gt; /--</description>
		<content:encoded><![CDATA[<p>I have a good fresh joke for you!   What did the elephant say to the naked man? It&#8217;s cute, but can you pick up peanuts with it?<br />
___________________________<br />
          &#8211;/  <a href="http://viagara.cialsisrx.info/site_map.html" rel="nofollow">viagara  generic</a> /&#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RJ</title>
		<link>http://www.metabrew.com/article/reading-serialized-php-objects-from-erlang//comment-page-1#comment-644</link>
		<dc:creator>RJ</dc:creator>
		<pubDate>Thu, 05 Feb 2009 14:07:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.metabrew.com/wordpress/?p=15#comment-644</guid>
		<description>Yep GPLv2 - i should make that more visible.
I&#039;ve also rolled a php-eval server in erlang, maybe i&#039;ll dust it off and publish it soon :)</description>
		<content:encoded><![CDATA[<p>Yep GPLv2 &#8211; i should make that more visible.<br />
I&#8217;ve also rolled a php-eval server in erlang, maybe i&#8217;ll dust it off and publish it soon :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Skelton</title>
		<link>http://www.metabrew.com/article/reading-serialized-php-objects-from-erlang//comment-page-1#comment-424</link>
		<dc:creator>Andy Skelton</dc:creator>
		<pubDate>Mon, 19 Jan 2009 22:48:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.metabrew.com/wordpress/?p=15#comment-424</guid>
		<description>I didn&#039;t see the low-contrast message in the footer before. GPLv2 then. Thanks.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t see the low-contrast message in the footer before. GPLv2 then. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Skelton</title>
		<link>http://www.metabrew.com/article/reading-serialized-php-objects-from-erlang//comment-page-1#comment-388</link>
		<dc:creator>Andy Skelton</dc:creator>
		<pubDate>Fri, 16 Jan 2009 04:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.metabrew.com/wordpress/?p=15#comment-388</guid>
		<description>Thanks! I used this code in a gen_server that provides PHP eval access within Erlang. Under what license do you release this?</description>
		<content:encoded><![CDATA[<p>Thanks! I used this code in a gen_server that provides PHP eval access within Erlang. Under what license do you release this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RJ</title>
		<link>http://www.metabrew.com/article/reading-serialized-php-objects-from-erlang//comment-page-1#comment-36</link>
		<dc:creator>RJ</dc:creator>
		<pubDate>Thu, 30 Oct 2008 13:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.metabrew.com/wordpress/?p=15#comment-36</guid>
		<description>Erm, I don&#039;t know exactly what facebook do, but i think i read somewhere that they do use thrift for serializing php objects, yes.

Sadly changing our php serialization format isn&#039;t gonna happen, hence the need for the above code.</description>
		<content:encoded><![CDATA[<p>Erm, I don&#8217;t know exactly what facebook do, but i think i read somewhere that they do use thrift for serializing php objects, yes.</p>
<p>Sadly changing our php serialization format isn&#8217;t gonna happen, hence the need for the above code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Wright</title>
		<link>http://www.metabrew.com/article/reading-serialized-php-objects-from-erlang//comment-page-1#comment-35</link>
		<dc:creator>John Wright</dc:creator>
		<pubDate>Wed, 29 Oct 2008 21:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.metabrew.com/wordpress/?p=15#comment-35</guid>
		<description>Do you all use Thrift at Facebook to serialize PHP objects?  It comes with built-in PHP and Erlang generators.</description>
		<content:encoded><![CDATA[<p>Do you all use Thrift at Facebook to serialize PHP objects?  It comes with built-in PHP and Erlang generators.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
