catch (Exception $e) {}
var_dump($x);
+$x = "foo";
+try { $x += new stdClass; }
+catch (Exception $e) {}
+var_dump($x);
+
$x = new stdClass;
try { $x -= 1; }
catch (Exception $e) {}
catch (Exception $e) {}
var_dump($x);
+$x = "foo";
+try { $x -= new stdClass; }
+catch (Exception $e) {}
+var_dump($x);
+
$x = new stdClass;
try { $x *= 1; }
catch (Exception $e) {}
catch (Exception $e) {}
var_dump($x);
+$x = "foo";
+try { $x *= new stdClass; }
+catch (Exception $e) {}
+var_dump($x);
+
$x = new stdClass;
try { $x /= 1; }
catch (Exception $e) {}
catch (Exception $e) {}
var_dump($x);
+$x = "foo";
+try { $x /= new stdClass; }
+catch (Exception $e) {}
+var_dump($x);
+
$x = new stdClass;
try { $x %= 1; }
catch (Exception $e) {}
catch (Exception $e) {}
var_dump($x);
+$x = "foo";
+try { $x %= new stdClass; }
+catch (Exception $e) {}
+var_dump($x);
+
$x = new stdClass;
try { $x **= 1; }
catch (Exception $e) {}
catch (Exception $e) {}
var_dump($x);
+$x = "foo";
+try { $x **= new stdClass; }
+catch (Exception $e) {}
+var_dump($x);
+
$x = new stdClass;
try { $x ^= 1; }
catch (Exception $e) {}
catch (Exception $e) {}
var_dump($x);
+$x = "foo";
+try { $x ^= new stdClass; }
+catch (Exception $e) {}
+var_dump($x);
+
$x = new stdClass;
try { $x &= 1; }
catch (Exception $e) {}
catch (Exception $e) {}
var_dump($x);
+$x = "foo";
+try { $x &= new stdClass; }
+catch (Exception $e) {}
+var_dump($x);
+
$x = new stdClass;
try { $x |= 1; }
catch (Exception $e) {}
catch (Exception $e) {}
var_dump($x);
+$x = "foo";
+try { $x |= new stdClass; }
+catch (Exception $e) {}
+var_dump($x);
+
$x = new stdClass;
try { $x <<= 1; }
catch (Exception $e) {}
catch (Exception $e) {}
var_dump($x);
+$x = "foo";
+try { $x <<= new stdClass; }
+catch (Exception $e) {}
+var_dump($x);
+
$x = new stdClass;
try { $x >>= 1; }
catch (Exception $e) {}
try { $x >>= new stdClass; }
catch (Exception $e) {}
var_dump($x);
+
+$x = "foo";
+try { $x >>= new stdClass; }
+catch (Exception $e) {}
+var_dump($x);
+
?>
--EXPECTF--
int(1)
object(stdClass)#%d (0) {
}
int(1)
+int(0)
object(stdClass)#%d (0) {
}
int(1)
+int(0)
object(stdClass)#%d (0) {
}
int(1)
+int(0)
object(stdClass)#%d (0) {
}
int(1)
+int(0)
object(stdClass)#%d (0) {
}
int(1)
+string(3) "foo"
object(stdClass)#%d (0) {
}
int(1)
+int(0)
object(stdClass)#%d (0) {
}
int(1)
+string(3) "foo"
object(stdClass)#%d (0) {
}
int(1)
+string(3) "foo"
object(stdClass)#%d (0) {
}
int(1)
+string(3) "foo"
object(stdClass)#%d (0) {
}
int(1)
+string(3) "foo"
object(stdClass)#%d (0) {
}
int(1)
+string(3) "foo"