NYCPHP Meetup

NYPHP.org

[nycphp-talk] upgrading to php5

Urb LeJeune urb at e-government.com
Mon May 15 10:38:04 EDT 2006


Hello,

	I upgraded to PHP5 and the upgrade went smoothly. There is a
major difference with array_merge() in PHP5 if one of the arrays is null.
$Array1 = array_merge($Array2,$Array3);
If either $Array2 or Array3 is null $Array1 will be null even though the other
array is loaded.

	Is anyone aware of a listing of function containing potential upgrade
problems when upgrading to PHP5.

	I also had a problem with session_register() which I solved by
simply assigning variables to the super global $_SESSION

Urb





More information about the talk mailing list