Home  >  Article  >  Backend Development  >  Questions about php.ini

Questions about php.ini

WBOY
WBOYOriginal
2016-08-25 10:37:29893browse

My local php code can run normally, but when it is sent to the server, an error will be reported. After inspection, it is found that it is caused by the writing method empty( intval( $var ) ).
But what confuses me is that I can run it locally, and an error will be reported when I don't execute this part of the code.
So I want to ask if this is because of different php.ini configuration?

Reply content:

My local php code can run normally, but when it is sent to the server, an error will be reported. After inspection, I found that it is caused by the writing method empty( intval( $var ) ).
But what confuses me is that I can run it locally, and an error will be reported when I don't execute this part of the code.
So I want to ask if this is because of different php.ini configuration?

Questions about php.ini

This way of writing reports an error! What error is reported? Post it and take a look! Is your local php version the same as the php version on the server?

I just encountered this problem two days ago
Questions about php.ini

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Recommended help toolsNext article:Recommended help tools