
Report about an error with the notation of an object (Bugs)
Hi,
I guess this is due to PHP version. It does not work on 5.2 and 5.3. It
works well on PHP 5.4+
Hmm, seems to be right, e.g. php create object without class or on php.net.
Should we change it like this (I don't have PHP <5.6)?
$release = (object) array( 'title' => (string)$title[0], 'content' => (string)$content[0], 'version' => (string)$lastVersion, 'uri' => $baseURI . (string)$releaseURI[0]->href );
/Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences