From e5f41806a6474a2c181862849f05cff6924dfa2b Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Fri, 24 Apr 2015 09:44:52 +0000 Subject: [PATCH] is_resource() is not a strict type checking function (patch by Michael Slusarz) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336644 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/var/functions/is-resource.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/reference/var/functions/is-resource.xml b/reference/var/functions/is-resource.xml index c5366ba8b7..33e4680264 100644 --- a/reference/var/functions/is-resource.xml +++ b/reference/var/functions/is-resource.xml @@ -64,6 +64,15 @@ if (!is_resource($db_link)) { + + + &reftitle.notes; + + + is_resource is not a strict type-checking method: it will return &false; if var is a resource variable that has been closed. + + + &reftitle.seealso;