From 2f7b178fac15e43e28cc0093e0bd4fe12b0f20e6 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 6 Jul 2015 12:28:14 +0300 Subject: [PATCH] Fixed test (shift operators throw Error) --- tests/lang/operators/bitwiseShiftLeft_variationStr.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } } -- 2.50.1