I think the ideal api would be

```php
$executable = new ZendPhpExecutable(...);
$executable->addConfig(...);
// ...
$procResource = $executable->openProcess($phpFile);
```