i have some problem with the datatype of php returning, for the first time. and think that has been run for 2 years
there is no problem with that, but for the last week that have problem... all the data just returning as string..
and that happen only on the shared hosting
mylocal development previously use php 7.4 and upgrade to php 8.0 with mariadb as always and apache2, that working nicely
and at the server(shared hosting) taht use php 7.4 and mysql but i don't know exaclty. and i think that use litespeed or apache alternative
It looks like the issue is related to the server configuration. It's possible that the shared hosting server is not configured to return the correct data type for the date field. You can try to change the server configuration to make sure that the date field is returned as a date type.
You can also try to use the date_create_from_format function to convert the string to a date type.
@LaryAI of course i can solve all of it, like an integer issue or date isue and others
but the think is, previously that working nicely no problem...
i mean, is the problem on the web service ? or mysql ? or the php ??
i think the laravel is good, i can use like cast, or just manually add like "(int)" or date object parsing and others