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--EXPECTF--
20Deprecated: PHP Startup: assert.warning INI setting is deprecated in Unknown on line 0
21
22Deprecated: PHP Startup: assert.callback INI setting is deprecated in Unknown on line 0
23
24Deprecated: PHP Startup: assert.exception INI setting is deprecated in Unknown on line 0
25f1 called
26bool(false)
27bool(true)
28