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