6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11671] The dynamic view crashes on some Inboxes
*
Your Email Address
*
Spam protection
Enter the letters below:
.___..__.. ..__..__ | | || || |[ __ | |__||__||__\[_./
Comment
>> That should be up to the programmer to determine. I don't want the >> programming language enforcing arbitrary limits. >> >> If a programmer wants to shoot themselves in the foot - that is their >> prerogative. But this limit makes certain tasks impossible, >> especially when the input data size is unknown (say, for example, an >> e-mail message where the PHP programmer has no control over limiting >> this input size). >> > I've been doing some reading: > https://bugs.php.net/bug.php?id=45546 > http://stackoverflow.com/questions/7620910/regexp-in-preg-match-function-returning-browser-error > > and using test scripts, I can see that some requests can fill the > stack very quickly while others never crash PHP. So, apparently it's > possible to write regexps to be more stack limit friendly. > > These tips seem to help: > - use possessive quantifiers where possible. This means: ++, *+, ?+ > {}+ instead of +, *, ?, {}. > - move quantifiers inside of alternative-brackets where possible
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