assert in PHP

Synatx of assert bool assert(string|bool assertion[, string description] ) If assertion is true, generates a warning in executing the code. If assertion is a string, assert() evaluates that string as PHP code. The optional second argument allows for additional text to be added in with the failure message. Check the assert_options() function to see its … Read more