<?php
$change = (int
)isset($_GET['change']);
var_dump($change); // deve dar 0 porque não existe a variavel de URL
$change2 = (int
)isset($change);
var_dump($change2); // deve dar 1 porque a variavel existe
PD9waHAKCiRjaGFuZ2UgPSAoaW50KWlzc2V0KCRfR0VUWydjaGFuZ2UnXSk7Cgp2YXJfZHVtcCgkY2hhbmdlKTsgLy8gZGV2ZSBkYXIgMCBwb3JxdWUgbsOjbyBleGlzdGUgYSB2YXJpYXZlbCBkZSBVUkwKCgokY2hhbmdlMiA9IChpbnQpaXNzZXQoJGNoYW5nZSk7Cgp2YXJfZHVtcCgkY2hhbmdlMik7IC8vIGRldmUgZGFyIDEgcG9ycXVlIGEgdmFyaWF2ZWwgZXhpc3Rl