diff options
author | Nikita Popov <nikic@php.net> | 2012-12-17 22:02:32 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2012-12-24 00:27:55 +0100 |
commit | be7b0bc3ec02e4f223920ee6397f9c4993eb7df5 (patch) | |
tree | 3d6f62821f0df9ca11147ce18652df7b2d109acb /ext/mysql/php_mysql.c | |
parent | 24f1ef1b0254d4b8341aa9d74ca450e89c2a8683 (diff) | |
download | php-git-be7b0bc3ec02e4f223920ee6397f9c4993eb7df5.tar.gz |
Implement Generator::throw() method
Generator::throw($exception) throws an exception into the generator. The
exception is thrown at the current point of suspension within the generator.
It basically behaves as if the current yield statement were replaced with
a throw statement and the generator subsequently resumed.
Diffstat (limited to 'ext/mysql/php_mysql.c')
0 files changed, 0 insertions, 0 deletions