1--TEST--
2BcMath\Number properties unset
3--EXTENSIONS--
4bcmath
5--FILE--
6<?php
7
8$num = new BcMath\Number(1);
9try {
10    unset($num->value);
11} catch (Error $e) {
12    echo $e->getMessage() . "\n";
13}
14
15try {
16    unset($num->scale);
17} catch (Error $e) {
18    echo $e->getMessage() . "\n";
19}
20?>
21--EXPECT--
22Cannot unset readonly property BcMath\Number::$value
23Cannot unset readonly property BcMath\Number::$scale
24