//echo ... $portfree(-3923)
... $true

//echo ... $portfree(bug)
... $true

If the requested port check isn't a number between 1-65535 it should return $false.