- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,408
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
php supports converting a number of functions from function calls into specific bytecode as a fast-pass. This however requires the function be pulled from the global namespace, and in XF virtually call code is called from non-global namespace, which defeats this optimization.
A simple way would be to include something like this after the namespace declaration, in each file;
PHP:
A simple way would be to include something like this after the namespace declaration, in each file;
PHP:
use function strlen, is_null, is_bool, is_long, is_int, is_integer, is_float, is_double, is_string, is_array...