Although this isn't related to the alleged bug, it does seem bug-like that $scid() returns an ID instead of a connection number, after all what good is an identifier that gives you the same value you inputted. In it's current state $scid() is useless except that it can tell you whether $scid(N) exists, but it could still retain that functionality and return a connection number so I don't get why it doesn't.


Spelling mistakes, grammatical errors, and stupid comments are intentional.