Add PHP stub file for code completion purposes

Added stub file for this extension and completed it with documentation from php.net, so this file can be very helpful for IDE autocompletion.