Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

array_diff_assoc

By: a guest on Nov 30th, 2011  |  syntax: None  |  size: 4.07 KB  |  views: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ---------------- array_diff_assoc
  2. array
  3.   0 => &
  4.     array
  5.       1 =>
  6.         object(stdClass)[11]
  7.           public 'id' => string '<CALTzdza8wH2hGjbU96uBom-Sh63NvFYg0-VrCvsDYXjjFW_XsA@mail.gmail.com>' (length=68)
  8.           public 'date' => int 1322614850
  9.           public 'from' => string 'xxx' (length=19)
  10.           public 'person' => string 'xxx' (length=16)
  11.           public 'to' => string 'xxx' (length=23)
  12.           public 'subject' => string '44553 Sono un messaggio valido' (length=30)
  13.           public 'size' => int 3055
  14.           public 'title' => string 'Sono un messaggio valido' (length=24)
  15.           public 'pin' => string '44553' (length=5)
  16.       2 =>
  17.         object(stdClass)[6]
  18.           public 'id' => string '<CALTzdzYMs9z41Wj_scfzzsOL80XE8RZrRnDxwYebdG+FOx9HQw@mail.gmail.com>' (length=68)
  19.           public 'date' => int 1322614864
  20.           public 'from' => string 'xxx' (length=19)
  21.           public 'person' => string 'xxx' (length=16)
  22.           public 'to' => string 'xxx' (length=23)
  23.           public 'subject' => string 'Io invece non sono valido' (length=25)
  24.           public 'size' => int 3167
  25.       3 =>
  26.         object(stdClass)[12]
  27.           public 'id' => string '<CALTzdzZT=1qiDV6+piERFR8CQs0x663r9r259t15FSqUMQ8i6Q@mail.gmail.com>' (length=68)
  28.           public 'date' => int 1322614920
  29.           public 'from' => string 'xxx' (length=19)
  30.           public 'person' => string 'xxx' (length=16)
  31.           public 'to' => string 'xxx' (length=23)
  32.           public 'subject' => string '22331 plain con allegato' (length=24)
  33.           public 'size' => int 11966
  34.           public 'title' => string 'plain con allegato' (length=18)
  35.           public 'pin' => string '22331' (length=5)
  36.       4 =>
  37.         object(stdClass)[10]
  38.           public 'id' => string '<CALTzdzZvR5mBxJAOUC5BkQpEB746pNp4mvsnhq1L34aOJjCJ6g@mail.gmail.com>' (length=68)
  39.           public 'date' => int 1322616421
  40.           public 'from' => string 'xxx' (length=19)
  41.           public 'person' => string 'xxx' (length=16)
  42.           public 'to' => string 'xxx' (length=23)
  43.           public 'subject' => string '99887' (length=5)
  44.           public 'size' => int 2806
  45.           public 'title' => null
  46.           public 'pin' => string '99887' (length=5)
  47.   1 => &
  48.     array
  49.       1 =>
  50.         object(stdClass)[11]
  51.           public 'id' => string '<CALTzdza8wH2hGjbU96uBom-Sh63NvFYg0-VrCvsDYXjjFW_XsA@mail.gmail.com>' (length=68)
  52.           public 'date' => int 1322614850
  53.           public 'from' => string 'xxx' (length=19)
  54.           public 'person' => string 'xxx' (length=16)
  55.           public 'to' => string 'xxx' (length=23)
  56.           public 'subject' => string '44553 Sono un messaggio valido' (length=30)
  57.           public 'size' => int 3055
  58.           public 'title' => string 'Sono un messaggio valido' (length=24)
  59.           public 'pin' => string '44553' (length=5)
  60.       3 =>
  61.         object(stdClass)[12]
  62.           public 'id' => string '<CALTzdzZT=1qiDV6+piERFR8CQs0x663r9r259t15FSqUMQ8i6Q@mail.gmail.com>' (length=68)
  63.           public 'date' => int 1322614920
  64.           public 'from' => string 'xxx' (length=19)
  65.           public 'person' => string 'xxx' (length=16)
  66.           public 'to' => string 'xxx' (length=23)
  67.           public 'subject' => string '22331 plain con allegato' (length=24)
  68.           public 'size' => int 11966
  69.           public 'title' => string 'plain con allegato' (length=18)
  70.           public 'pin' => string '22331' (length=5)
  71.       4 =>
  72.         object(stdClass)[10]
  73.           public 'id' => string '<CALTzdzZvR5mBxJAOUC5BkQpEB746pNp4mvsnhq1L34aOJjCJ6g@mail.gmail.com>' (length=68)
  74.           public 'date' => int 1322616421
  75.           public 'from' => string 'xxx' (length=19)
  76.           public 'person' => string 'xxx' (length=16)
  77.           public 'to' => string 'xxx' (length=23)
  78.           public 'subject' => string '99887' (length=5)
  79.           public 'size' => int 2806
  80.           public 'title' => null
  81.           public 'pin' => string '99887' (length=5)
  82. myErrorHandler array_diff_assoc $invalid = array_diff_assoc($all_headers, $valid_headers); --------------------
  83.