امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
The current code for filtering
PHP:
Read more
unum and num will throw an exception when passed a sufficiently large number, as floatval will convert those to INF:PHP:
کد:
php > var_export(floatval('1e99999'));
INF
php > var_export(floatval('-1e99999'));
-INF
php > var_export(strval(floatval('1e99999')) + 0);
PHP Warning: Uncaught TypeError: Unsupported operand types: string + int in php shell code:1
Stack trace:
#0 {main}
thrown in php shell code on line 1
Warning: Uncaught...
Read more
