1--TEST--
2Printing AST of die "constant" via assert
3--INI--
4zend.assertions=1
5--FILE--
6<?php
7
8try {
9 assert(0 && die);
10} catch (Throwable $e) {
11 echo $e::class, ': ', $e->getMessage(), PHP_EOL;
12}
13
14?>
15--EXPECT--
16AssertionError: assert(0 && \exit())
17