امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
In a number of places
The problem is this is somewhat inconsistent in a number of places. Most of the time
If a bad value is passed in (likely due to editing html or bad templating), then
Read more
strtotime is used to parse something like "+$value $unit" from user-input to generate a datetime stamp from a relative time structure.The problem is this is somewhat inconsistent in a number of places. Most of the time
0 means permanent, but some places have a check against pow(2,32) - 1.If a bad value is passed in (likely due to editing html or bad templating), then
strtotime return false rather than raise an error and silently fails...Read more
