mirror of
https://github.com/php/php-src.git
synced 2024-12-16 05:15:03 +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)
|