6.0.0-alpha14
7/3/25

[#14973] PHP 7.3 : Switch Case uses "continue" instead of "break"
Summary PHP 7.3 : Switch Case uses "continue" instead of "break"
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State Resolved
Priority 1. Low
Owners
Requester torben (at) dannhauer (dot) info
Created 12/23/2019 (2019 days ago)
Due
Updated 12/23/2019 (2019 days ago)
Assigned 12/23/2019 (2019 days ago)
Resolved 12/23/2019 (2019 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/23/2019 08:35:15 PM torben (at) dannhauer (dot) info Comment #4 Reply to this comment
...and these have now been removed as well.
:) incredible fast support! Thanks for the cleanup!

Merry Christmas!

Torben
12/23/2019 07:54:37 PM Michael Rubinsky Comment #3
State ⇒ Resolved
Reply to this comment
...and these have now been removed as well.
12/23/2019 05:47:21 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Priority ⇒ 1. Low
Reply to this comment
You are correct that it's deprecated, but it only triggers an 
E_WARNING. The behavior is the same, so is not the cause of whatever 
symptom you are experiencing.
12/23/2019 01:26:05 PM torben (at) dannhauer (dot) info Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ PHP 7.3 : Switch Case uses "continue" instead of "break"
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
After upgrading  PHP to V7.3, it throws the folowing errors:

It seems that using the keyword continue is deprecated and it must be 
changed to "break". Currently Carddav und CaldDav is dysfunctional.


---snip---
[Mon Dec 23 12:02:44.105262 2019] [proxy_fcgi:error] [pid 11363:tid 
139838539876096] [client 87.170.195.230:57044] AH01071: Got error 'PHP 
message: PHP Warning:  "continue" targeting switch is equivalent to 
"break". Did you mean to use "continue 2"? in 
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 352PHP 
message: PHP Stack trace:PHP message: PHP   1. {main}() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP   
2. Horde_Injector->getInstance() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP 
   3. Horde_Injector->createInstance() 
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4. 
Horde_Injector_Binder_Factory->create() 
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5. 
Horde_Core_Factory_ActiveSyncServer->create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP   
6. spl_autoload_call() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   7. Horde_Autoloader_Default->loadClass() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   8. Horde_Autoloader_Default->_include() 
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent 
to "break". Did you mean to use "continue 2"? in 
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 380PHP 
message: PHP Stack trace:PHP message: PHP   1. {main}() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP   
2. Horde_Injector->getInstance() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP 
   3. Horde_Injector->createInstance() 
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4. 
Horde_Injector_Binder_Factory->create() 
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5. 
Horde_Core_Factory_ActiveSyncServer->create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP   
6. spl_autoload_call() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   7. Horde_Autoloader_Default->loadClass() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   8. Horde_Autoloader_Default->_include() 
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent 
to "break". Did you mean to use "continue 2"? in 
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 385PHP 
message: PHP Stack trace:PHP message: PHP   1. {main}() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP   
2. Horde_Injector->getInstance() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP 
   3. Horde_Injector->createInstance() 
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4. 
Horde_Injector_Binder_Factory->create() 
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5. 
Horde_Core_Factory_ActiveSyncServer->create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP   
6. spl_autoload_call() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   7. Horde_Autoloader_Default->loadClass() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   8. Horde_Autoloader_Default->_include() 
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent 
to "break". Did you mean to use "continue 2"? in 
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 398PHP 
message: PHP Stack trace:PHP message: PHP   1. {main}() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP   
2. Horde_Injector->getInstance() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP 
   3. Horde_Injector->createInstance() 
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4. 
Horde_Injector_Binder_Factory->create() 
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5. 
Horde_Core_Factory_ActiveSyncServer->create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP   
6. spl_autoload_call() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   7. Horde_Autoloader_Default->loadClass() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   8. Horde_Autoloader_Default->_include() 
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent 
to "break". Did you mean to use "continue 2"? in 
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 414PHP 
message: PHP Stack trace:PHP message: PHP   1. {main}() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP   
2. Horde_Injector->getInstance() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP 
   3. Horde_Injector->createInstance() 
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4. 
Horde_Injector_Binder_Factory->create() 
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5. 
Horde_Core_Factory_ActiveSyncServer->create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP   
6. spl_autoload_call() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   7. Horde_Autoloader_Default->loadClass() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   8. Horde_Autoloader_Default->_include() 
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent 
to "break". Did you mean to use "continue 2"? in 
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 516PHP 
message: PHP Stack trace:PHP message: PHP   1. {main}() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP   
2. Horde_Injector->getInstance() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP 
   3. Horde_Injector->createInstance() 
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4. 
Horde_Injector_Binder_Factory->create() 
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5. 
Horde_Core_Factory_ActiveSyncServer->create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP   
6. spl_autoload_call() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   7. Horde_Autoloader_Default->loadClass() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   8. Horde_Autoloader_Default->_include() 
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent 
to "break". Did you mean to use "continue 2"? in 
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 527PHP 
message: PHP Stack trace:PHP message: PHP   1. {main}() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP   
2. Horde_Injector->getInstance() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP 
   3. Horde_Injector->createInstance() 
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4. 
Horde_Injector_Binder_Factory->create() 
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5. 
Horde_Core_Factory_ActiveSyncServer->create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP   
6. spl_autoload_call() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   7. Horde_Autoloader_Default->loadClass() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   8. Horde_Autoloader_Default->_include() 
/usr/share/php/Horde/Autoloader.php:65

PHP message: PHP Warning:  "continue" targeting switch is equivalent 
to "break". Did you mean to use "continue 2"? in 
/usr/share/php/Horde/ActiveSync/Wbxml/Decoder.php on line 539PHP 
message: PHP Stack trace:PHP message: PHP   1. {main}() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:0PHP message: PHP   
2. Horde_Injector->getInstance() 
/var/www/torben/web/ssl-dannhauer.de/horde/rpc.php:102PHP message: PHP 
   3. Horde_Injector->createInstance() 
/usr/share/php/Horde/Injector.php:272PHP message: PHP   4. 
Horde_Injector_Binder_Factory->create() 
/usr/share/php/Horde/Injector.php:238PHP message: PHP   5. 
Horde_Core_Factory_ActiveSyncServer->create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:119PHP message: PHP   
6. spl_autoload_call() 
/usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:20PHP message: 
PHP   7. Horde_Autoloader_Default->loadClass() 
/usr/share/php/Horde/Core/Factory/ActiveS
---snip---

Saved Queries