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--EXPECT-- 19bool(true) 20bool(true) 21