NetworkedBlogs.com (beta) is an extension of the Facebook app NetworkedBlogs.

php developer blog

 

Information

Blog Name: php developer blog
Url: http://www.phpdevblog.net
Language: English
Topics: php, developer
Description: A blog for PHP Developers
Popularity: 13 Followers

Blog Feed

serialize() vs. var_export() vs. json_encode() Memory Usage
Based on serialize() vs. var_export() vs. json_encode() Part 2, let's take a look at the (real) memory usage:Apart from var_export allo methods seem to use about the same. Let's put the usage in relation to each other to get a better view:With smaller arrays, the memory usage is exactly the same, from 10.000 elements on the values begin to diverge.
serialize() vs. var_export() vs. json_encode() Part 2
Based on the comments from my first benchmark in the serialize() vs. var_export() vs. json_encode article 2 days ago, I decided to benchmark once again, this time using different array sizes and I also added the JSON method with recursive UTF8 encoding beforehand. This time, all results are the combined results (exporting and importing), the testing script was exactly the same (except JSON+UTF8 which also had a utf8_encode_recursive function). Let's see what happens when using array sizes from 10 to 1000 elements:
serialize() vs. var_export() vs. json_encode()
There are times when you need to store an array, for example when your array is an index you wanna use again the next time you run your application. In order to store an array you have to transform it into some kind of string represantation first, most people would probably use serialize(). But there are also 2 other ways to achieve that: var_export() and json_encode().After having them stored the functions to interpret the strings as a
Speaking at PHP Conference 2009 about Scrum
Today (November, 15th) I'm giving a workshop about Scrum basics at the PHP Conference 2009 in Karlsruhe, Germany together with my colleague Sebastian Schürmann. If you're new to scrum and/or have never heard about it, it should be a quite interesting workshop for you.
Article "Mobile Webapplications" in german PHP Magazin
As of today issue 1.2010 of the german "PHP Magazin" is available, containing my article "Mobile Webapplications" with tips & tricks for developing your own Mobile Webapplication using PHP.As for the "OOP in JavaScript" series: I didn't forget about it, I just didn't have enough time to write the fourth part of it which will be covering scoping.

Followers

This blog has 13 followers. Visit the blog page on Facebook to see who's following this blog.
Follow

Popular in:

Not enough data.
Calculated for blogs with 20+ followers.

Related Blogs

This site uses BitPixels previews
Questions? contact: networkedblogs@ninua.com
Copyright (C) 2008, Ninua, Inc.