Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is a really neat concept that I think would be fun to use.

Looking at the usage, I thought this syntax was interesting:

//here's how we read a key $sx->readKey('username', $username);

Is there a reason you are requiring a variable to be passed by reference to the readKey function, instead of doing:

$username = $sx->readKey('username');

EDIT: ahh, I see you have a returnKey('key') function that works that way



Yep! I'm glad you like it! :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: