1--TEST-- 2assert() asserting multiple with callback 3--INI-- 4assert.active = 1 5assert.warning = 1 6assert.bail = 0 7assert.exception=1 8--FILE-- 9<?php 10assert_options(ASSERT_CALLBACK, function ($f) {}); 11try { 12 assert(false); 13} catch (Throwable) {} 14try { 15 assert(false); 16} catch (Throwable) {} 17try { 18 assert(false); 19} catch (Throwable) {} 20try { 21 assert(false); 22} catch (Throwable) {} 23try { 24 assert(false); 25} catch (Throwable) {} 26try { 27 assert(false); 28} catch (Throwable) {} 29try { 30 assert(false); 31} catch (Throwable) {} 32?> 33DONE 34--EXPECTF-- 35Deprecated: Constant ASSERT_CALLBACK is deprecated in %s on line %d 36 37Deprecated: Function assert_options() is deprecated since 8.3 in %s on line %d 38DONE 39