1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/tests/bug79382.phpt
2020-07-08 10:11:00 +02:00

17 lines
208 B
PHP

--TEST--
Bug #79382: Cannot redeclare disabled function
--INI--
disable_functions=strlen
--FILE--
<?php
function strlen(string $x): int {
return 42;
}
var_dump(strlen("foobar"));
?>
--EXPECT--
int(42)