1--TEST--
2assert() - basic - check  that assert can be switched off
3--INI--
4assert.active = 0
5assert.warning = 0
6assert.callback = f1
7assert.bail = 0
8--FILE--
9<?php
10function f1()
11{
12    echo "f1 called\n";
13}
14
15var_dump($r2=assert(0));
16var_dump($r2=assert(1));
17?>
18--EXPECTF--
19Deprecated: PHP Startup: assert.active INI setting is deprecated in Unknown on line 0
20
21Deprecated: PHP Startup: assert.warning INI setting is deprecated in Unknown on line 0
22
23Deprecated: PHP Startup: assert.callback INI setting is deprecated in Unknown on line 0
24bool(true)
25bool(true)
26