This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

(PHP) Undefined Index from existing keys in getMulti result

By: a guest on Mar 21st, 2012  |  syntax: None  |  size: 0.41 KB  |  views: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. Array
  3. (
  4.     [testKey] => testVal testKey
  5.     [testKey1] => testVal testKey1
  6. )
  7.  
  8.  
  9. result key: testKey ; result value: testVal testKey
  10. string(7) "testKey"
  11. multiResult[testKey]: NULL
  12.  
  13. result key: testKey1 ; result value: testVal testKey1
  14. string(8) "testKey1"
  15. multiResult[testKey1]: NULL
  16.  
  17.  
  18.  
  19. ------
  20.  
  21. query key: testKey
  22. string(7) "testKey"
  23. NULL
  24. query key: testKey1
  25. string(8) "testKey1"
  26. NULL
clone this paste RAW Paste Data