xref: /PHP-8.0/Zend/tests/bug70478.phpt (revision f8d79582)
1--TEST--
2Bug #70478 (**= does no longer work)
3--FILE--
4<?php
5
6class foo {
7    public $a = 3;
8    private $b = 4;
9
10    function __construct() {
11        $this->a **= $this->b;
12    }
13}
14
15$a = new foo;
16var_dump($a->a);
17
18?>
19--EXPECT--
20int(81)
21