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

by Milo ⌂, Friday, February 17, 2017, 17:52 (65 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


Surveyor-Software: Geodetic Network Adjustment & Deformation-Analysis and Transformation

Complete thread:

 RSS Feed of thread

powered by my little forum