My local php code can run normally, but an error will be reported when it is uploaded to the server. after checking, it is found that it is caused by empty (intval ($ var. But what puzzles me is that I can run it locally, and an error will also be reported when I do not execute this part of code. So... my local php code can run normally, but an error will be reported when uploaded to the server.
Empty (intval ($ var ))
This is caused by writing.
But what puzzles me is that I can run it locally, and an error will also be reported when I do not execute this part of code.
So I would like to ask why php. ini has different configurations?
Reply content:
My local php code can run normally, but an error will be reported when it is uploaded to the server.Empty (intval ($ var ))
This is caused by writing.
But what puzzles me is that I can run it locally, and an error will also be reported when I do not execute this part of code.
So I would like to ask why php. ini has different configurations?
An error occurred while writing this statement! What error is reported? post it and check it out! Your localPhp
Version andPhp
Is the version the same?
This problem happened two days ago.