summaryrefslogtreecommitdiffstats
path: root/598bf7f5d5f9c76fd003590083c98736eb7702ab.patch
blob: d7ac04824c7da5eb7eced8543bade221ed6b45e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 598bf7f5d5f9c76fd003590083c98736eb7702ab Mon Sep 17 00:00:00 2001
From: "Christoph M. Becker" <cmbecker69@gmx.de>
Date: Tue, 22 Oct 2019 17:53:34 +0200
Subject: [PATCH] Fix typo

---
 ext/ffi/ffi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/ffi/ffi.c b/ext/ffi/ffi.c
index 4b7144e11ccc..17e8a8409d1f 100644
--- a/ext/ffi/ffi.c
+++ b/ext/ffi/ffi.c
@@ -3359,7 +3359,7 @@ ZEND_METHOD(FFI, load) /* {{{ */
 	ZEND_PARSE_PARAMETERS_END();
 
 	if (CG(compiler_options) & ZEND_COMPILE_PRELOAD_IN_CHILD) {
-		zend_throw_error(zend_ffi_exception_ce, "FFI::load() doesn't work in conjunction with \"opcache.pelaod_user\". Use \"ffi.preload\" instead.");
+		zend_throw_error(zend_ffi_exception_ce, "FFI::load() doesn't work in conjunction with \"opcache.preload_user\". Use \"ffi.preload\" instead.");
 		return;
 	}