Skip to content

Set assert.exception=1 to throw exceptions on failed asserts

PHP documentation at https://www.php.net/manual/en/function.assert.php says, that zend.assertions have default value of 1, but assert.exception does not. I think, that for education purposes, this setting should be set to 1, because during debugging and testing it lets students know, that something went wrong.

Snímek_obrazovky_2021-10-15_v_15.43.03

Snímek_obrazovky_2021-10-15_v_15.42.51

Merge request reports

Loading