From: Dmitry Stogov Date: Mon, 6 Jul 2015 09:28:14 +0000 (+0300) Subject: Fixed test (shift operators throw Error) X-Git-Tag: php-7.0.0beta1~12^2~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f7b178fac15e43e28cc0093e0bd4fe12b0f20e6;p=php Fixed test (shift operators throw Error) --- diff --git a/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt b/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt index 6a44c5d630..0176d90738 100644 --- a/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt +++ b/tests/lang/operators/bitwiseShiftLeft_variationStr.phpt @@ -19,7 +19,7 @@ foreach ($strVals as $strVal) { echo "--- testing: '$strVal' << '$otherVal' ---\n"; try { var_dump(strVal<<$otherVal); - } catch (Exception $e) { + } catch (Throwable $e) { echo "Exception: " . $e->getMessage() . "\n"; } }