0v1.ro

(zero V unu)

Category Archives: PHP Basics

Basic topics for the PHP ZCE training. You’ll need to know this even in your dreams.

PHP switch case after default works normally

When you put the a case block after the default block the switch will work normally and fallback to the default only after testing all cases. The documentation doesn’t specify this directly, but there is a note with an example. … Read more »