In visual basic there is this command that's called debug.assert
Is there something like that in PhP?
[man]assert/man