Questions about php.ini

WBOY
Release: 2016-08-25 10:37:29
Original
944 people have browsed it

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

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template