1--TEST--
2assert() - basic - check  that assert runs when assert.active is set to 1.
3--INI--
4assert.active = 1
5assert.warning = 0
6assert.callback = f1
7assert.bail = 0
8assert.exception=0
9--FILE--
10<?php
11function f1()
12{
13    echo "f1 called\n";
14}
15
16var_dump($r2 = assert(0));
17var_dump($r2 = assert(1));
18?>
19--EXPECT--
20f1 called
21bool(false)
22bool(true)
23