summaryrefslogtreecommitdiff
path: root/Zend/tests/bug70478.phpt
blob: eb58cde36b42f02244da36741f1fbe0a1f95c42a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Bug #70478 (**= does no longer work)
--FILE--
<?php

class foo {
    public $a = 3;
    private $b = 4;

    function __construct() {
        $this->a **= $this->b;
    }
}

$a = new foo;
var_dump($a->a);

?>
--EXPECT--
int(81)