Created attachment 225015 [details]
Update to version 2.4.2 (stable)
This PHP library ports version is not compatible with PHP7.4+ because of usage of get_magic_quotes_runtime().
The version is ports tree is clearly outdated (5 years old), just updating to last version (2.4.2) fix the issue.
Thanks for the updating, do you also want to be the maintainer of this port?
Fixed by https://cgit.FreeBSD.org/ports/commit/?id=32db55fbe37ef9b14163d2430c5dfb8bac7f4805