summaryrefslogtreecommitdiff
path: root/Zend/tests/compound_assign_failure.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/compound_assign_failure.phpt')
-rw-r--r--Zend/tests/compound_assign_failure.phpt66
1 files changed, 33 insertions, 33 deletions
diff --git a/Zend/tests/compound_assign_failure.phpt b/Zend/tests/compound_assign_failure.phpt
index 1780725d93..0dc9af85f2 100644
--- a/Zend/tests/compound_assign_failure.phpt
+++ b/Zend/tests/compound_assign_failure.phpt
@@ -34,167 +34,167 @@ try {
$x = new stdClass;
try { $x += 1; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = 1;
try { $x += new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = "foo";
try { $x += new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = new stdClass;
try { $x -= 1; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = 1;
try { $x -= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = "foo";
try { $x -= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = new stdClass;
try { $x *= 1; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = 1;
try { $x *= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = "foo";
try { $x *= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = new stdClass;
try { $x /= 1; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = 1;
try { $x /= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = "foo";
try { $x /= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = new stdClass;
try { $x %= 1; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = 1;
try { $x %= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = "foo";
try { $x %= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = new stdClass;
try { $x **= 1; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = 1;
try { $x **= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = "foo";
try { $x **= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = new stdClass;
try { $x ^= 1; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = 1;
try { $x ^= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = "foo";
try { $x ^= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = new stdClass;
try { $x &= 1; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = 1;
try { $x &= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = "foo";
try { $x &= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = new stdClass;
try { $x |= 1; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = 1;
try { $x |= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = "foo";
try { $x |= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = new stdClass;
try { $x <<= 1; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = 1;
try { $x <<= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = "foo";
try { $x <<= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = new stdClass;
try { $x >>= 1; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = 1;
try { $x >>= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
$x = "foo";
try { $x >>= new stdClass; }
-catch (Exception $e) {}
+catch (Throwable $e) {}
var_dump($x);
?>