Skip to content

Commit

Permalink
Update mbstring overloading check
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Oct 16, 2015
1 parent 94134c2 commit ddd1783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
use Icicle\Stream\Pipe\WritablePipe;

// @codeCoverageIgnoreStart
if (strlen('') === 1) {
throw new Error('The mbstring.overload ini setting is enabled. It must be disable to use the stream package.');
if (strlen('') !== 3) {
throw new Error('The mbstring.func_overload ini setting is enabled. It must be disable to use the stream package.');
} // @codeCoverageIgnoreEnd

if (!function_exists(__NAMESPACE__ . '\pipe')) {
Expand Down

0 comments on commit ddd1783

Please sign in to comment.