mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
b0174a14c0
Reordered ZEND_(ASSIGN_)POW opcodes in zend_vm_def.h so that it won't be missed in future
21 lines
219 B
PHP
21 lines
219 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)
|