News for hackers. Stuff that matters.
Re:PHP has been removed in macOS Monterey by enriquto on Thursday June 17, 2021 @08:04AM (#27538662)
> for compatibility with legacy software.

The way it is written, it sounds like they are trying to hide the fact that said "legacy software" is part of the (new) system itself. Otherwise they wouldn't need to include it in the base install.

> Python, Ruby, and Perl

The order they use for the languages hides the fact that, at least for Catalina, Perl is by far the most used scripting language by core elements of macOS, even more than the shell. Check it by yourselves:

    file -b /{usr/,}{s,}bin/* |cut -d\  -f1,2|sort|uniq -c|sort -n|tail

     13 setuid Mach-O
     23 a /usr/sbin/dtrace
     50 a /usr/bin/perl5.28
     53 a /usr/bin/perl5.18
     81 POSIX shell
    116 Perl script
    954 Mach-O 64-bit
Conclusion: Apple is a Perl shop.
Re:PHP has been removed in macOS Monterey by Cthulhu_ on Thursday June 17, 2021 @08:10AM (#27538719)
What they could do is use an internal, non-user-usable runtime for their own perl scripts and allow the user to install their own one.

And of course compile their scripts into executables or something.