Report about an error with the notation of an object (Bugs)

by Micha ⌂, Friday, February 17, 2017, 17:52 (2409 days ago) @ Auge


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


applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Complete thread:

 RSS Feed of thread