unread
Hi,
today I saw that the new SQLite extension throws exceptions.
In the current state the syntaxis of the prototypes in .c files
is :
proto return_type function_name([param_type param_name]*)
As we know, from v5, PHP functions may throw exceptions.
Therefore I propose to extend the syntaxis of function prototype
with suffix :
throws [exception_name]
If more than one type of exception is throwed a comma separated
list should be specified .
Example :
proto array func_name(int param) throws FuncNameException1,
FuncNameException2
Comments?
Regards,
Andrey