3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $in['put'] = "string"; $affiliateId = isset($in['put']) ? (int) $in['put'] : null; var_dump($affiliateId);
Output for 5.3.7 - 7.1.7
int(0)