mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
18 lines
135 B
PHP
18 lines
135 B
PHP
--TEST--
|
|
Use power operator on reference
|
|
--FILE--
|
|
<?php
|
|
|
|
$a = 2;
|
|
$b = 3;
|
|
|
|
$ref =& $b;
|
|
|
|
$a **= $b;
|
|
|
|
var_dump($a);
|
|
|
|
?>
|
|
--EXPECT--
|
|
int(8)
|