diff options
author | Aaron Piotrowski <aaron@trowski.com> | 2016-06-14 11:32:33 -0500 |
---|---|---|
committer | Aaron Piotrowski <aaron@trowski.com> | 2016-06-14 13:18:43 -0500 |
commit | 7d53864574e22a3f72fcee7eb902248fb25f85df (patch) | |
tree | 19e9f8a5a99ae125ccd94124d32712ddb9c5eddb /ext/dba/dba.c | |
parent | 771e5cc24716304dd2bf8cbd8aec11d465965d0a (diff) | |
download | php-git-7d53864574e22a3f72fcee7eb902248fb25f85df.tar.gz |
E_RECOVERABLE_ERROR -> thrown Error
Diffstat (limited to 'ext/dba/dba.c')
-rw-r--r-- | ext/dba/dba.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/dba.c b/ext/dba/dba.c index fd4522b9d6..66af2436bb 100644 --- a/ext/dba/dba.c +++ b/ext/dba/dba.c @@ -208,7 +208,7 @@ static size_t php_dba_make_key(zval *key, char **key_str, char **key_free) size_t len; if (zend_hash_num_elements(Z_ARRVAL_P(key)) != 2) { - php_error_docref(NULL, E_RECOVERABLE_ERROR, "Key does not have exactly two elements: (key, name)"); + zend_throw_error(NULL, "Key does not have exactly two elements: (key, name)"); return 0; } zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(key), &pos); |