Skip to content

Commit

Permalink
phpversion() do not throw FunctionNotSupported
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmisek committed Aug 5, 2024
1 parent 0ce3e25 commit 134e374
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Peachpie.Library/Miscellaneous.cs
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,9 @@ static bool VersionToArray(string version, List<string> result)
{
if (extension != null)
{
#if DEBUG // too distracting with WordPress, won't be fixed anyways
PhpException.FunctionNotSupported(nameof(phpversion));
#endif
return null; // false;
}

Expand Down

0 comments on commit 134e374

Please sign in to comment.