fork download
  1. <?php
  2.  
  3. $change = (int)isset($_GET['change']);
  4.  
  5. var_dump($change); // deve dar 0 porque não existe a variavel de URL
  6.  
  7.  
  8. $change2 = (int)isset($change);
  9.  
  10. var_dump($change2); // deve dar 1 porque a variavel existe
Success #stdin #stdout 0.01s 24400KB
stdin
Standard input is empty
stdout
int(0)
int(1)