Changes between Initial Version and Version 1 of Ticket #15158, comment 34
- Timestamp:
- 01/04/2013 08:15:18 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15158, comment 34
initial v1 1 I think a better strategy would be to run t o separate loops: foreach($args) to create a list of which args were NULL and unset them, followed by foreach($positions[0]) to modify the query string.1 I think a better strategy would be to run two separate loops: foreach($args) to create a list of which args were NULL and unset them, followed by foreach($positions[0]) to modify the query string. 2 2 3 3 This strategy would avoid duplicating the $args array, which is potentially extremely expensive when working with large queries.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)