Welcome Guest, Not a member yet? Register   Sign In
CI4 controller error with built-in php class (intl)
#3

(07-17-2020, 02:44 AM)jreklund Wrote: Add \ in front of it to use native PHP-functions.

\NumberFormatter
thanks a lot.

as far i remember, in ci3 we dont hv to put it.

*note to other:
make sure to put \ to both class name like this -> $credit_term = new \NumberFormatter("en", \NumberFormatter::SPELLOUT);
Reply


Messages In This Thread
RE: CI4 controller error with built-in php class (intl) - by nmaa3003 - 07-17-2020, 02:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB