/** * Test pregMatchArray when input is not a string * @expectedException Exception * @expectedExceptionMessage $subject is not a string */ function testPregMatchNotString() { Utils::pregMatchArray(array('/foo/i'), array('foo')); }
<?php /** * Hex Dump string */ require dirname(__FILE__) . '/../lib/FusePump/Cli/Utils.php'; use FusePump\Cli\Utils; echo Utils::hexDump('This is a string of data');