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--
14Hello World!
15
16Warning: assert(): assert(0) failed in %s on line %d
17