add :php_compatible option for communicating with php.