Avatar

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

by Auge ⌂ @, Friday, February 17, 2017, 19:51 (156 days ago) @ Milo

Hi,

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
);

I think, this would be a good idea.

Tschö, Auge

--
further development of mlf1


Complete thread:

 RSS Feed of thread

powered by my little forum