The problem I'm facing is quite common I suppose but I didn't see a single thread in internet.
If I use isset($_POST)
,
- Will it always return
true
? - Does the response depend on the version of PHP I use?
- Is
$_POST
is a variable? (it's a super global 'variable' after all). Because in php.net documentation, it is mentioned
isset()
only works with variables as passing anything else will result in a parse error.