- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,420
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
In PHP, some comparisons with
==
or in_array
may return true when the programmer expects them to return false. For example, "00" == "0000"
is true in PHP, as is in_array("00", ["0000"])
. XenForo 2 performs loose comparisons in some places that can potentially result in bugs:- XF\Criteria\User#_matchUsername: lax in_array usage will result in usernames like
010
matching usernames like10
and...
نام موضوع : Buggy string comparisons