امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Line 285 of
PHP:
Code:
Read more
src/XF/Error.php:PHP:
$args[] = sprintf('%.*G', $arg);* isn't a valid precision value. In PHP 7.4.11, this is silently ignored, and the result is the string "G". In PHP 8.0 RC2, this results in an exception.Code:
کد:
$ php7.4 -r 'printf("%.*G\n", 0.1 * 10);'
G
$ php8.0 -r 'printf("%.*G\n", 0.1 * 10);'
PHP Fatal error: Uncaught ValueError: Precision must be an integer in Command line code:1
Stack trace:
#0 Command line...
Read more
