1--TEST--
2Implicit float to int conversions should not warn for literals in combined assingment operetor if float has a fractional part equal to 0
3--FILE--
4<?php
5
6echo 'Bitwise ops:' . \PHP_EOL;
7
8$var = 3;
9$var |= 1.0;
10var_dump($var);
11
12$var = 3;
13$var &= 1.0;
14var_dump($var);
15
16$var = 3;
17$var ^= 1.0;
18var_dump($var);
19
20$var = 3;
21$var <<= 1.0;
22var_dump($var);
23
24$var = 3;
25$var >>= 1.0;
26var_dump($var);
27
28echo 'Modulo:' . \PHP_EOL;
29$var = 9;
30$var %= 2.0;
31var_dump($var);
32
33?>
34--EXPECT--
35Bitwise ops:
36int(3)
37int(1)
38int(2)
39int(6)
40int(1)
41Modulo:
42int(1)
43