https://wiki.php.net/rfc/switch.default.multiple

'Cause this code is silly (even if it had case blocks), but we allow it:

switch ($expr) {
  default:
    notExecuted();
    break;
  default:
    executed();
}

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to