Bug #79320 [Opn->Nab]: The "empty" function is not recognized as a callable.

From: Date: Sat, 29 Feb 2020 03:05:32 +0000
Subject: Bug #79320 [Opn->Nab]: The "empty" function is not recognized as a callable.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225803@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79320&edit=1 ID: 79320 Updated by: requinix@php.net Reported by: ilya at bakhlin dot com Summary: The "empty" function is not recognized as a callable. -Status: Open +Status: Not a bug Type: Bug Package: *General Issues Operating System: Windows, GNU/Linux, macOS PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php https://www.php.net/manual/en/function.empty.php empty is a language construct, not a function. Previous Comments: ------------------------------------------------------------------------ [2020-02-29 02:08:33] ilya at bakhlin dot com Description: ------------ <?php is_callable("empty") // false; Test script: --------------- <?php if (is_callable("empty")) { echo "It is a callable function." } else { echo "It is not a callable function." } ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79320&edit=1

« previous php.bugs (#225803) next »