Home > Backend Development > PHP Tutorial > Questions about php.ini

Questions about php.ini

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-25 10:37:29
Original
998 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
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template