Is https://delphi.fandom.com/wiki/Delphi_for_PHP the one you're thinking of?
This is truly interesting, and the description on that wiki page suggests that it might be exactly what I'm looking for, but it seems like any concrete information about it has vanished.