6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/1/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1705] Don't use array_push
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..__ __ . . | |\ /[__)/ `| | |__| \/ | \\__.|__|
Comment
> http://us2.php.net/manual/en/function.array-push.php says: > > > > Note: If you use array_push() to add one element to the array it's > better to use $array[] = because in that way there is no overhead of > calling a function. > > > > I'm not positive that it's applicable here since we're calling > array(), but array() isn't a real function. > > > > I only submitted this patch since it took 5 seconds and reduced a few > lines of code that I had added.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers