xref: /PHP-7.4/Zend/tests/assert/expect_019.phpt (revision ded3d984)
1--TEST--
2test assertions in namespace (assertions completely disabled)
3--INI--
4zend.assertions=-1
5assert.exception=0
6--FILE--
7<?php
8namespace Foo;
9
10var_dump(\assert(false));
11var_dump(\assert(true));
12var_dump(assert(false));
13var_dump(assert(true));
14?>
15--EXPECT--
16bool(true)
17bool(true)
18bool(true)
19bool(true)
20