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

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


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

Trenne niemals Müll, denn er hat nur eine Silbe!

Complete thread:

 RSS Feed of thread