1--TEST--
2assert() - basic - accept closures as callback.
3--INI--
4assert.active = 1
5assert.warning = 1
6assert.bail = 0
7assert.exception=0
8--FILE--
9<?php
10assert_options(ASSERT_CALLBACK, function () { echo "Hello World!\n"; });
11assert(0);
12?>
13--EXPECTF--
14Deprecated: PHP Startup: assert.exception INI setting is deprecated in Unknown on line 0
15
16Deprecated: Constant ASSERT_CALLBACK is deprecated in %s on line %d
17
18Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d
19Hello World!
20
21Warning: assert(): assert(0) failed in %s on line %d
22