From 1937939c67fd4271e817debf07adadd77a34ab75 Mon Sep 17 00:00:00 2001 From: Johannes Bader Date: Mon, 30 Apr 2018 10:46:27 -0700 Subject: [PATCH] typo --- spec/05-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/05-types.md b/spec/05-types.md index 9921918..b4ae386 100644 --- a/spec/05-types.md +++ b/spec/05-types.md @@ -603,7 +603,7 @@ A *closure* is an object that encapsulates a function with a given argument list and return type. The function can then be called through that object by using the [function-call operator](10-expressions.md#function-call-operator). -Note: The library functions [`class_meth`](http://www.php.net/class_meth), [`fun1](http://www.php.net/fun), [`inst_meth`](http://www.php.net/inst_meth), and [`meth_caller`](http://www.php.net/meth_caller) allow a string constant containing the name of +Note: The library functions [`class_meth`](http://www.php.net/class_meth), [`fun1`](http://www.php.net/fun), [`inst_meth`](http://www.php.net/inst_meth), and [`meth_caller`](http://www.php.net/meth_caller) allow a string constant containing the name of a function to be turned into a closure. **Examples**