如何判断object对象的区别

浏览:762 发布日期:2019/09/25 分类:ThinkPHP5专区 关键字: object 对象
现在返回了两个对象,我想判断这两个对象的区别。请问该如何判断。
下面是对象1object(think\paginator\driver\Bootstrap)#84 (8) {
  ["simple":protected] => bool(false)
  ["items":protected] => object(think\model\Collection)#83 (1) {
    ["items":protected] => array(20) {
      [0] => object(app\common\model\CollectionMsgModel)#59 (2) {
        ["data"] => array(6) {
          ["id"] => int(96952)
          ["phone_id"] => int(408)
          ["content"] => string(186) "a:4:{s:7:"smsDate";s:19:"2019-09-24 01:25:12";s:6:"PhoNum";s:11:"83192753645";s:9:"smsNumber";s:13:"6283808652839";s:10:"smsContent";s:44:"Toca para cambiar tu contrasea de Instagram:";}"
          ["create_time"] => int(1569346215)
          ["update_time"] => int(1569346215)
          ["delete_time"] => NULL
        }
        ["relation"] => array(0) {
        }
      }....
下面是对象2object(think\response\Json)#55 (8) {
  ["options"] => array(1) {
    ["json_encode_param"] => int(256)
  }
  ["contentType"] => string(16) "application/json"
  ["data"] => array(3) {
    ["error_code"] => int(0)
    ["msg"] => string(12) "获取成功"
    ["data"] => array(21) {
      [0] => array(4) {
        ["smsDate"] => string(19) "2019-09-25 16:50:50"
竟然图片现在都发不了了.
最佳答案
评论( 相关
后面还有条评论,点击查看>>