xref: /PHP-7.0/Zend/tests/assert/expect_019.phpt (revision 9a20323e)
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--EXPECTF--
16bool(true)
17bool(true)
18bool(true)
19bool(true)
20