Browse Source

Fixed test (shift operators throw Error)

pull/1354/head
Dmitry Stogov 11 years ago
parent
commit
2f7b178fac
  1. 2
      tests/lang/operators/bitwiseShiftLeft_variationStr.phpt

2
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";
}
}

Loading…
Cancel
Save