xref: /PHP-7.3/ext/bcmath/tests/bug78878.phpt (revision a6215456)
1--TEST--
2Bug #78878 (Buffer underflow in bc_shift_addsub)
3--SKIPIF--
4<?php
5if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
6?>
7--FILE--
8<?php
9print @bcmul("\xB26483605105519922841849335928742092", bcpowmod(2, 65535, -4e-4));
10?>
11--EXPECT--
120
13