I found Emacs does not have `inf-php` built-in. I'm trying to write a plugin `ob-php` https://github.com/stardiviner/ob-php/issues/1 But the command line `php` does not have proper option for `org-babel-eval`. So I think should consider use `inf-php`.
Just ask.
[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/