xref: /PHP-8.2/Zend/tests/pow_ref.phpt (revision 4ee14c6f)
1--TEST--
2Use power operator on reference
3--FILE--
4<?php
5
6$a = 2;
7$b = 3;
8
9$ref =& $b;
10
11$a **= $b;
12
13var_dump($a);
14
15?>
16--EXPECT--
17int(8)
18