Add PHP code to block's content
The PHP filter module was removed from core, because of the inherent security problems it presents.

It now exists as a separate contrib module, but beware that even the module description itself warns against using it:


  Warning
  
  Enabling this module can cause security and performance issues as it allows users to execute PHP code on your site. There are better alternatives out there that do not expose such vulnerabilities on your site.