docs: more robust workaround for -d command line params (#613)
* more robust workaround for -d command line params
unfortunately there were some corner cases (like first parameter not equal to -d) that are difficult to handle with sh. added a more robust workaround script (which requires bash) and made clear we have to set the PHP_BINARY env variable for this to work.
* Remove echo