diff --git a/src/Peachpie.Library/Miscellaneous.cs b/src/Peachpie.Library/Miscellaneous.cs index c40ff8d214..91eb47d90c 100644 --- a/src/Peachpie.Library/Miscellaneous.cs +++ b/src/Peachpie.Library/Miscellaneous.cs @@ -595,7 +595,9 @@ static bool VersionToArray(string version, List result) { if (extension != null) { +#if DEBUG // too distracting with WordPress, won't be fixed anyways PhpException.FunctionNotSupported(nameof(phpversion)); +#endif return null; // false; }