Attack
Forum Üyesi
- Katılım
- 4 Şub 2023
- Mesajlar
- 2,618
- Puanları
- 0
The current code for filtering 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'));INFphp > var_export(floatval('-1e99999'));-INFphp > var_export(strval(floatval('1e99999')) + 0);PHP Warning: Uncaught TypeError: Unsupported operand types: string + int in php shell code:1Stack trace:#0 {main} thrown in php shell code on line 1Warning: Uncaught...
PHP:
php > var_export(floatval('1e99999'));INFphp > var_export(floatval('-1e99999'));-INFphp > var_export(strval(floatval('1e99999')) + 0);PHP Warning: Uncaught TypeError: Unsupported operand types: string + int in php shell code:1Stack trace:#0 {main} thrown in php shell code on line 1Warning: Uncaught...
Misafirler için gizlenen link, görmek için
Giriş yap veya üye ol.