Skip to content

Instantly share code, notes, and snippets.

@benmmurphy
Last active March 8, 2016 13:55
Show Gist options
  • Save benmmurphy/ac2e2d089a61a4dc9059 to your computer and use it in GitHub Desktop.
Save benmmurphy/ac2e2d089a61a4dc9059 to your computer and use it in GitHub Desktop.
<?php
$details = $_SESSION["msisdn_verification"];
if (round(microtime(true) * 1000) > $details["created_at"] + EXPIRATION_TIME) {
return "resend_token";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment