summaryrefslogtreecommitdiff
path: root/ext/standard/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/net.c')
-rw-r--r--ext/standard/net.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/net.c b/ext/standard/net.c
index 9f22c75840..424dad44f4 100644
--- a/ext/standard/net.c
+++ b/ext/standard/net.c
@@ -301,8 +301,7 @@ PHP_FUNCTION(net_get_interfaces) {
freeifaddrs(addrs);
#else
/* Should never happen as we never register the function */
- php_error(E_WARNING, "No support for net_get_interfaces");
- RETURN_FALSE;
+ ZEND_UNREACHABLE("No support for net_get_interfaces");
#endif
}
/* }}} */