Different isset behavior on localhost and on the server

0

Good afternoon, classmates.

I have a problem in PHP with some functions in particular with isset, s_null and empty .

The problem is that in local behaves differently than with the server for example with isset when I do a variable that if it is defined in both sites returns "true"

Until then that's fine but when I do it with a variable that is not defined in local it says "true" and in the server "false"

And the same goes for the other two functions, which behaves the other way around.

And I do not know if this is because you have to change some configuration or something on the server or local.

The PHP version in localhost is 7.2.1 and in the server 7.1.7

Greetings and thank you very much

    
asked by Jesús 16.02.2018 в 18:27
source

0 answers