Permalink
Browse files

Use faster way to add items to array

  • Loading branch information...
pfrischmuth committed Dec 11, 2012
1 parent d5d86d5 commit 756bb9fc3d33ddf3ebdbd09b6363ec21d22500fc
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Erfurt/Store/Adapter/Virtuoso.php
@@ -1236,7 +1236,7 @@ private function _odbcResultToArray($odbcResult, $columnsAsKeys = true, $field =
}
// add row to result array
- array_push($resultArray, $resultRowNamed);
+ $resultArray[] = $resultRowNamed;
}
return $resultArray;

0 comments on commit 756bb9f

Please sign in to comment.