array_merge_recursive problem in PHP 5.2.5

Posted: October 19, 2010 in PHP
Tags: , , ,

I faced a problem with one of my projects some time ago. Deep debug helped to understand that the issue is not in the code, but in PHP core.

PHP 5.2.5 has a problem with array_merge_recursive function. It was eliminating NULL values. I even found a bug filed in PHP bugtracker.

It’s just the interesting fact, so be careful 😉

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s