com php-src: Fix a typo in the error messages for FFI [skip ci]: ext/ffi/ffi.c

From: Date: Mon, 18 Feb 2019 16:47:41 +0000
Subject: com php-src: Fix a typo in the error messages for FFI [skip ci]: ext/ffi/ffi.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-104701@lists.php.net to get a copy of this message
Commit: cb4c74dfe315205662fee8ad269706ae8eacce4b Author: Tyson Andre <tysonandre775@hotmail.com> Mon, 18 Feb 2019 11:14:42 -0500 Committer: Nikita Popov <nikita.ppv@gmail.com> Mon, 18 Feb 2019 17:47:41 +0100 Parents: 5661feb1ef929111ef7765672fcb49813eee86fc Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cb4c74dfe315205662fee8ad269706ae8eacce4b Log: Fix a typo in the error messages for FFI [skip ci] Changed paths: M ext/ffi/ffi.c Diff: diff --git a/ext/ffi/ffi.c b/ext/ffi/ffi.c index 5305a43..9188ccc 100644 --- a/ext/ffi/ffi.c +++ b/ext/ffi/ffi.c @@ -806,13 +806,13 @@ static void *zend_ffi_create_callback(zend_ffi_type *type, zval *value) /* {{{ * } if (!zend_is_callable_ex(value, NULL, 0, NULL, &fcc, &error)) { - zend_throw_error(zend_ffi_exception_ce, "Attempt to assing an invalid callback, %s", error); + zend_throw_error(zend_ffi_exception_ce, "Attempt to assign an invalid callback, %s", error); return NULL; } arg_count = type->func.args ? zend_hash_num_elements(type->func.args) : 0; if (arg_count < fcc.function_handler->common.required_num_args) { - zend_throw_error(zend_ffi_exception_ce, "Attempt to assing an invalid callback, insufficient number of arguments"); + zend_throw_error(zend_ffi_exception_ce, "Attempt to assign an invalid callback, insufficient number of arguments"); return NULL; }

« previous php.cvs (#104701) next »