Guest User

Untitled

a guest
Oct 21st, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. $errorGraphDataLength = sizeof($this->_graphErrorData);
  2. $requestGraphDataLength = sizeof($this->_graphRequestData);
  3. if ($errorGraphDataLength < $requestGraphDataLength) {
  4. foreach($this->_graphRequestData as $key => $value) {
  5. if (!array_key_exists($key, $this->_graphErrorData)) {
  6. echo 'im in!';
  7. array_merge($this->_graphErrorData, array($key => 0));
  8. }
  9. }print_r($this->_graphErrorData);
  10. }
Add Comment
Please, Sign In to add comment