获取自上次值更改以来的最后更改
I want to check the last value changes.
Some times the objectId is the same as another objectId but the value can be different.
And i cant compare this to get the Last changes.
How do i do that?
这是对象
object(stdClass)#38 (6) {
["id"]=>
string(7) "1715680"
["objectId"]=>
string(1) "1"
["type"]=>
string(1) "0"
["field"]=>
string(2) "30"
["value"]=>
string(1) "3"
["date"]=>
string(10) "1239982220"
}
object(stdClass)#39 (6) {
["id"]=>
string(7) "1739382"
["objectId"]=>
string(1) "1"
["type"]=>
string(1) "0"
["field"]=>
string(2) "30"
["value"]=>
string(1) "3"
["date"]=>
string(10) "1240588802"
}
object(stdClass)#40 (6) {
["id"]=>
string(7) "1762456"
["objectId"]=>
string(1) "1"
["type"]=>
string(1) "0"
["field"]=>
string(2) "30"
["value"]=>
string(1) "0"
["date"]=>
string(10) "1241195393"
}
I want to check the last value changes.
Some times the objectId is the same as another objectId but the value can be different.
And i cant compare this to get the Last changes.
How do i do that?
This are the Objects
object(stdClass)#38 (6) {
["id"]=>
string(7) "1715680"
["objectId"]=>
string(1) "1"
["type"]=>
string(1) "0"
["field"]=>
string(2) "30"
["value"]=>
string(1) "3"
["date"]=>
string(10) "1239982220"
}
object(stdClass)#39 (6) {
["id"]=>
string(7) "1739382"
["objectId"]=>
string(1) "1"
["type"]=>
string(1) "0"
["field"]=>
string(2) "30"
["value"]=>
string(1) "3"
["date"]=>
string(10) "1240588802"
}
object(stdClass)#40 (6) {
["id"]=>
string(7) "1762456"
["objectId"]=>
string(1) "1"
["type"]=>
string(1) "0"
["field"]=>
string(2) "30"
["value"]=>
string(1) "0"
["date"]=>
string(10) "1241195393"
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我解决了我自己的问题不是很好吗?
I solved My Own Question isnt that good?