summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-07-06 12:28:14 +0300
committerDmitry Stogov <dmitry@zend.com>2015-07-06 12:28:14 +0300
commit2f7b178fac15e43e28cc0093e0bd4fe12b0f20e6 (patch)
treea975ac92c1cedd11424903bdd13350502d3be395 /tests
parent7a1a499377781634d0063cf964bd4729846398fa (diff)
downloadphp-git-2f7b178fac15e43e28cc0093e0bd4fe12b0f20e6.tar.gz
Fixed test (shift operators throw Error)
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/operators/bitwiseShiftLeft_variationStr.phpt2
1 files changed, 1 insertions, 1 deletions
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";
}
}