After upgrading to Node v.10.9.0 via Homebrew the following error message was thrown from PHP:
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
Reinstall PHP to fix, for me that's:
brew reinstall php@7.1
It worked for me with the following features: Mac OS Catalina Version 10.15.6 and PHP 7.4.9 (cli) (built: Aug 7 2020 19:23:06)