Legacy PHP codebases often run on outdated infrastructure that's costly to maintain. Converting them to shell scripts could extend their lifespan on simpler systems.
Create an automated converter that translates PHP syntax to shell commands, handling common functions and idioms. Include options for customizing the output.
Sell to companies maintaining legacy PHP systems who want to reduce infrastructure costs. Offer consulting for complex migrations.
Start with a command-line tool supporting basic PHP features, then expand coverage.
Risk: PHP and shell have different paradigms. Not all code may be convertible.