1--TEST--
2BcMath\Number cast warning
3--EXTENSIONS--
4bcmath
5--FILE--
6<?php
7$num = new BcMath\Number(1);
8(int) $num;
9(float) $num;
10?>
11--EXPECTF--
12Warning: Object of class BcMath\Number could not be converted to int in %s
13
14Warning: Object of class BcMath\Number could not be converted to float in %s
15