From 1967950dc33b87a5b92c33875885cfb0b5b5bffc Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 1 May 2017 12:14:53 +0200 Subject: Fix typo in SplFixedArray has_dimension implementation --- ext/spl/spl_fixedarray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/spl/spl_fixedarray.c') diff --git a/ext/spl/spl_fixedarray.c b/ext/spl/spl_fixedarray.c index ab81d9e351..87c59261c0 100644 --- a/ext/spl/spl_fixedarray.c +++ b/ext/spl/spl_fixedarray.c @@ -507,7 +507,7 @@ static int spl_fixedarray_object_has_dimension(zval *object, zval *offset, int c intern = Z_SPLFIXEDARRAY_P(object); - if (intern->fptr_offset_get) { + if (intern->fptr_offset_has) { zval rv; SEPARATE_ARG_IF_REF(offset); zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_has, "offsetExists", &rv, offset); -- cgit v1.2.1