mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
21 lines
237 B
PHP
21 lines
237 B
PHP
--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)
|