Forums / Developer / reference issue at ini file class

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

reference issue at ini file class

Author Message

Georg Franz

Tuesday 09 August 2005 11:06:54 am

Hi,

Björn told me that he had some problems if he use this code

$ini = eZINI::instance ( ... );

So, the $ini var should be used as a reference like this instead:

$ini =& eZINI::instance ( ... );

This make sense, but I've found the string "= eZINI::instance" (without the &) 32 times in php files which are in the "kernel" directory, and 5 times in php files which are in the lib directory. (ez 3.6.1)

So, my question is:
-) Is it "safe" to ignore this?
-) or should I file a bug report?

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Paul Borgermans

Tuesday 09 August 2005 2:51:56 pm

Hi Georg

It appears to not cause many problems, but yes file a bug report as it makes sense with respect to the refernce bugs in php < 4.4.x.

Regards

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans