<?php
$json=<<<END
{"fields":{"title":{"type":"ezstring","identifier":"title","value":"123","id":132224,"classattribute_id":181},"author":{"type":"ezauthor","identifier":"author","value":"Rest Test|email@foo.net|0","id":132225,"classattribute_id":183},"intro":{"type":"ezxmltext","identifier":"intro","value":"123","id":132226,"classattribute_id":184},"body":{"type":"ezxmltext","identifier":"body","value":"123","id":132227,"classattribute_id":185},"image":{"type":"ezimage","identifier":"image","value":"var\/ezdemo_site\/storage\/images\/restfolder\/demo-unternehmen-1\/123\/132228-1-ger-DE\/123.jpg","id":132228,"classattribute_id":186},"caption":{"type":"ezxmltext","identifier":"caption","value":"123","id":132229,"classattribute_id":187},"publish_date":{"type":"ezdatetime","identifier":"publish_date","value":"1490191690","id":132230,"classattribute_id":188},"unpublish_date":{"type":"ezdatetime","identifier":"unpublish_date","value":"","id":132231,"classattribute_id":349},"promotion_time":{"type":"ezstring","identifier":"promotion_time","value":"","id":132232,"classattribute_id":354},"company_name":{"type":"ezobjectrelation","identifier":"company_name","value":"3504","id":132233,"classattribute_id":351},"promotion_url":{"type":"ezurl","identifier":"promotion_url","value":false,"id":132234,"classattribute_id":352},"file_upload":{"type":"ezbinaryfile","identifier":"file_upload","value":"","id":132235,"classattribute_id":353},"location":{"type":"ezgmaplocation","identifier":"location","value":"0|#|#|#","id":132236,"classattribute_id":191},"eztags_hotspots":{"type":"eztags","identifier":"eztags_hotspots","value":"|#|#|#","id":132237,"classattribute_id":452},"eztags_streets":{"type":"eztags","identifier":"eztags_streets","value":"|#|#|#","id":132238,"classattribute_id":344},"eztags_branchen":{"type":"eztags","identifier":"eztags_branchen","value":"|#|#|#","id":132239,"classattribute_id":453},"eztags_type":{"type":"eztags","identifier":"eztags_type","value":"225|#Job|#221|#ger-DE","id":132240,"classattribute_id":454},"eztags_extern":{"type":"eztags","identifier":"eztags_extern","value":"2279|#123|#261|#ger-DE","id":132241,"classattribute_id":461},"last_revised":{"type":"ezdatetime","identifier":"last_revised","value":"1490191690","id":132242,"classattribute_id":345},"star_rating":{"type":"ezsrrating","identifier":"star_rating","value":"","id":132243,"classattribute_id":189},"comments":{"type":"ezcomcomments","identifier":"comments","value":"","id":132244,"classattribute_id":192},"metadata":{"type":"xrowmetadata","identifier":"metadata","value":"\\n0.5<\/priority>daily<\/change>1<\/googlemap>1<\/googlemap_subtree><\/MetaData>\\n","id":132245,"classattribute_id":504}},"requestedResponseGroups":["FieldValues"]}
END;
$api_status_result = json_decode(sprintf("%s", $json), true);
var_dump($api_status_result);
- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.6 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
- array(2) {
["fields"]=>
array(22) {
["title"]=>
array(5) {
["type"]=>
string(8) "ezstring"
["identifier"]=>
string(5) "title"
["value"]=>
string(3) "123"
["id"]=>
int(132224)
["classattribute_id"]=>
int(181)
}
["author"]=>
array(5) {
["type"]=>
string(8) "ezauthor"
["identifier"]=>
string(6) "author"
["value"]=>
string(25) "Rest Test|email@foo.net|0"
["id"]=>
int(132225)
["classattribute_id"]=>
int(183)
}
["intro"]=>
array(5) {
["type"]=>
string(9) "ezxmltext"
["identifier"]=>
string(5) "intro"
["value"]=>
string(3) "123"
["id"]=>
int(132226)
["classattribute_id"]=>
int(184)
}
["body"]=>
array(5) {
["type"]=>
string(9) "ezxmltext"
["identifier"]=>
string(4) "body"
["value"]=>
string(3) "123"
["id"]=>
int(132227)
["classattribute_id"]=>
int(185)
}
["image"]=>
array(5) {
["type"]=>
string(7) "ezimage"
["identifier"]=>
string(5) "image"
["value"]=>
string(88) "var/ezdemo_site/storage/images/restfolder/demo-unternehmen-1/123/132228-1-ger-DE/123.jpg"
["id"]=>
int(132228)
["classattribute_id"]=>
int(186)
}
["caption"]=>
array(5) {
["type"]=>
string(9) "ezxmltext"
["identifier"]=>
string(7) "caption"
["value"]=>
string(3) "123"
["id"]=>
int(132229)
["classattribute_id"]=>
int(187)
}
["publish_date"]=>
array(5) {
["type"]=>
string(10) "ezdatetime"
["identifier"]=>
string(12) "publish_date"
["value"]=>
string(10) "1490191690"
["id"]=>
int(132230)
["classattribute_id"]=>
int(188)
}
["unpublish_date"]=>
array(5) {
["type"]=>
string(10) "ezdatetime"
["identifier"]=>
string(14) "unpublish_date"
["value"]=>
string(0) ""
["id"]=>
int(132231)
["classattribute_id"]=>
int(349)
}
["promotion_time"]=>
array(5) {
["type"]=>
string(8) "ezstring"
["identifier"]=>
string(14) "promotion_time"
["value"]=>
string(0) ""
["id"]=>
int(132232)
["classattribute_id"]=>
int(354)
}
["company_name"]=>
array(5) {
["type"]=>
string(16) "ezobjectrelation"
["identifier"]=>
string(12) "company_name"
["value"]=>
string(4) "3504"
["id"]=>
int(132233)
["classattribute_id"]=>
int(351)
}
["promotion_url"]=>
array(5) {
["type"]=>
string(5) "ezurl"
["identifier"]=>
string(13) "promotion_url"
["value"]=>
bool(false)
["id"]=>
int(132234)
["classattribute_id"]=>
int(352)
}
["file_upload"]=>
array(5) {
["type"]=>
string(12) "ezbinaryfile"
["identifier"]=>
string(11) "file_upload"
["value"]=>
string(0) ""
["id"]=>
int(132235)
["classattribute_id"]=>
int(353)
}
["location"]=>
array(5) {
["type"]=>
string(14) "ezgmaplocation"
["identifier"]=>
string(8) "location"
["value"]=>
string(7) "0|#|#|#"
["id"]=>
int(132236)
["classattribute_id"]=>
int(191)
}
["eztags_hotspots"]=>
array(5) {
["type"]=>
string(6) "eztags"
["identifier"]=>
string(15) "eztags_hotspots"
["value"]=>
string(6) "|#|#|#"
["id"]=>
int(132237)
["classattribute_id"]=>
int(452)
}
["eztags_streets"]=>
array(5) {
["type"]=>
string(6) "eztags"
["identifier"]=>
string(14) "eztags_streets"
["value"]=>
string(6) "|#|#|#"
["id"]=>
int(132238)
["classattribute_id"]=>
int(344)
}
["eztags_branchen"]=>
array(5) {
["type"]=>
string(6) "eztags"
["identifier"]=>
string(15) "eztags_branchen"
["value"]=>
string(6) "|#|#|#"
["id"]=>
int(132239)
["classattribute_id"]=>
int(453)
}
["eztags_type"]=>
array(5) {
["type"]=>
string(6) "eztags"
["identifier"]=>
string(11) "eztags_type"
["value"]=>
string(21) "225|#Job|#221|#ger-DE"
["id"]=>
int(132240)
["classattribute_id"]=>
int(454)
}
["eztags_extern"]=>
array(5) {
["type"]=>
string(6) "eztags"
["identifier"]=>
string(13) "eztags_extern"
["value"]=>
string(22) "2279|#123|#261|#ger-DE"
["id"]=>
int(132241)
["classattribute_id"]=>
int(461)
}
["last_revised"]=>
array(5) {
["type"]=>
string(10) "ezdatetime"
["identifier"]=>
string(12) "last_revised"
["value"]=>
string(10) "1490191690"
["id"]=>
int(132242)
["classattribute_id"]=>
int(345)
}
["star_rating"]=>
array(5) {
["type"]=>
string(10) "ezsrrating"
["identifier"]=>
string(11) "star_rating"
["value"]=>
string(0) ""
["id"]=>
int(132243)
["classattribute_id"]=>
int(189)
}
["comments"]=>
array(5) {
["type"]=>
string(13) "ezcomcomments"
["identifier"]=>
string(8) "comments"
["value"]=>
string(0) ""
["id"]=>
int(132244)
["classattribute_id"]=>
int(192)
}
["metadata"]=>
array(5) {
["type"]=>
string(12) "xrowmetadata"
["identifier"]=>
string(8) "metadata"
["value"]=>
string(75) "
0.5</priority>daily</change>1</googlemap>1</googlemap_subtree></MetaData>
"
["id"]=>
int(132245)
["classattribute_id"]=>
int(504)
}
}
["requestedResponseGroups"]=>
array(1) {
[0]=>
string(11) "FieldValues"
}
}
- Output for 8.3.5
- Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
array(2) {
["fields"]=>
array(22) {
["title"]=>
array(5) {
["type"]=>
string(8) "ezstring"
["identifier"]=>
string(5) "title"
["value"]=>
string(3) "123"
["id"]=>
int(132224)
["classattribute_id"]=>
int(181)
}
["author"]=>
array(5) {
["type"]=>
string(8) "ezauthor"
["identifier"]=>
string(6) "author"
["value"]=>
string(25) "Rest Test|email@foo.net|0"
["id"]=>
int(132225)
["classattribute_id"]=>
int(183)
}
["intro"]=>
array(5) {
["type"]=>
string(9) "ezxmltext"
["identifier"]=>
string(5) "intro"
["value"]=>
string(3) "123"
["id"]=>
int(132226)
["classattribute_id"]=>
int(184)
}
["body"]=>
array(5) {
["type"]=>
string(9) "ezxmltext"
["identifier"]=>
string(4) "body"
["value"]=>
string(3) "123"
["id"]=>
int(132227)
["classattribute_id"]=>
int(185)
}
["image"]=>
array(5) {
["type"]=>
string(7) "ezimage"
["identifier"]=>
string(5) "image"
["value"]=>
string(88) "var/ezdemo_site/storage/images/restfolder/demo-unternehmen-1/123/132228-1-ger-DE/123.jpg"
["id"]=>
int(132228)
["classattribute_id"]=>
int(186)
}
["caption"]=>
array(5) {
["type"]=>
string(9) "ezxmltext"
["identifier"]=>
string(7) "caption"
["value"]=>
string(3) "123"
["id"]=>
int(132229)
["classattribute_id"]=>
int(187)
}
["publish_date"]=>
array(5) {
["type"]=>
string(10) "ezdatetime"
["identifier"]=>
string(12) "publish_date"
["value"]=>
string(10) "1490191690"
["id"]=>
int(132230)
["classattribute_id"]=>
int(188)
}
["unpublish_date"]=>
array(5) {
["type"]=>
string(10) "ezdatetime"
["identifier"]=>
string(14) "unpublish_date"
["value"]=>
string(0) ""
["id"]=>
int(132231)
["classattribute_id"]=>
int(349)
}
["promotion_time"]=>
array(5) {
["type"]=>
string(8) "ezstring"
["identifier"]=>
string(14) "promotion_time"
["value"]=>
string(0) ""
["id"]=>
int(132232)
["classattribute_id"]=>
int(354)
}
["company_name"]=>
array(5) {
["type"]=>
string(16) "ezobjectrelation"
["identifier"]=>
string(12) "company_name"
["value"]=>
string(4) "3504"
["id"]=>
int(132233)
["classattribute_id"]=>
int(351)
}
["promotion_url"]=>
array(5) {
["type"]=>
string(5) "ezurl"
["identifier"]=>
string(13) "promotion_url"
["value"]=>
bool(false)
["id"]=>
int(132234)
["classattribute_id"]=>
int(352)
}
["file_upload"]=>
array(5) {
["type"]=>
string(12) "ezbinaryfile"
["identifier"]=>
string(11) "file_upload"
["value"]=>
string(0) ""
["id"]=>
int(132235)
["classattribute_id"]=>
int(353)
}
["location"]=>
array(5) {
["type"]=>
string(14) "ezgmaplocation"
["identifier"]=>
string(8) "location"
["value"]=>
string(7) "0|#|#|#"
["id"]=>
int(132236)
["classattribute_id"]=>
int(191)
}
["eztags_hotspots"]=>
array(5) {
["type"]=>
string(6) "eztags"
["identifier"]=>
string(15) "eztags_hotspots"
["value"]=>
string(6) "|#|#|#"
["id"]=>
int(132237)
["classattribute_id"]=>
int(452)
}
["eztags_streets"]=>
array(5) {
["type"]=>
string(6) "eztags"
["identifier"]=>
string(14) "eztags_streets"
["value"]=>
string(6) "|#|#|#"
["id"]=>
int(132238)
["classattribute_id"]=>
int(344)
}
["eztags_branchen"]=>
array(5) {
["type"]=>
string(6) "eztags"
["identifier"]=>
string(15) "eztags_branchen"
["value"]=>
string(6) "|#|#|#"
["id"]=>
int(132239)
["classattribute_id"]=>
int(453)
}
["eztags_type"]=>
array(5) {
["type"]=>
string(6) "eztags"
["identifier"]=>
string(11) "eztags_type"
["value"]=>
string(21) "225|#Job|#221|#ger-DE"
["id"]=>
int(132240)
["classattribute_id"]=>
int(454)
}
["eztags_extern"]=>
array(5) {
["type"]=>
string(6) "eztags"
["identifier"]=>
string(13) "eztags_extern"
["value"]=>
string(22) "2279|#123|#261|#ger-DE"
["id"]=>
int(132241)
["classattribute_id"]=>
int(461)
}
["last_revised"]=>
array(5) {
["type"]=>
string(10) "ezdatetime"
["identifier"]=>
string(12) "last_revised"
["value"]=>
string(10) "1490191690"
["id"]=>
int(132242)
["classattribute_id"]=>
int(345)
}
["star_rating"]=>
array(5) {
["type"]=>
string(10) "ezsrrating"
["identifier"]=>
string(11) "star_rating"
["value"]=>
string(0) ""
["id"]=>
int(132243)
["classattribute_id"]=>
int(189)
}
["comments"]=>
array(5) {
["type"]=>
string(13) "ezcomcomments"
["identifier"]=>
string(8) "comments"
["value"]=>
string(0) ""
["id"]=>
int(132244)
["classattribute_id"]=>
int(192)
}
["metadata"]=>
array(5) {
["type"]=>
string(12) "xrowmetadata"
["identifier"]=>
string(8) "metadata"
["value"]=>
string(75) "
0.5</priority>daily</change>1</googlemap>1</googlemap_subtree></MetaData>
"
["id"]=>
int(132245)
["classattribute_id"]=>
int(504)
}
}
["requestedResponseGroups"]=>
array(1) {
[0]=>
string(11) "FieldValues"
}
}
preferences:
191.34 ms | 417 KiB | 167 Q