xref: /php-src/Zend/tests/ast/zend-pow-assign.phpt (revision 3d4ff5ae)
1--TEST--
2ZEND_POW_ASSIGN
3--INI--
4zend.assertions=1
5--FILE--
6<?php
7
8try {
9    assert(false && ($a **= 2));
10} catch (AssertionError $e) {
11    echo 'assert(): ', $e->getMessage(), ' failed', PHP_EOL;
12}
13?>
14--EXPECT--
15assert(): assert(false && ($a **= 2)) failed
16