Skip to content

Commit

Permalink
[interim] Fix standard IO streams are not defined in process isolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
sun committed Aug 1, 2014
1 parent 48cc3f6 commit 4a617b4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<?php
// @see https://github.com/sebastianbergmann/phpunit/pull/1348
if (!defined('STDOUT')) {
define('STDOUT', fopen('php://stdout', 'wb'));
define('STDERR', fopen('php://stderr', 'wb'));
}

{iniSettings}
ini_set('display_errors', 'stderr');
set_include_path('{include_path}');
Expand Down

0 comments on commit 4a617b4

Please sign in to comment.