-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
Your test file_exists('php://stdin') returns FALSE, and file_get_contents doesn’t work with /dev/stdin or -. I suggest that you
- get rid of the check (
file_get_contentswill complain with a better message anyway if it can’t read the file), and - do
if ($options['input'] === '-') $options['input'] = 'php://stdin';for a more natural command line interface
Reactions are currently unavailable