6.0.0-beta6
3/31/26

[#14924] Horde/Perms: PHP 7.3: "continue" targeting switch is equivalent to "break"
Summary Horde/Perms: PHP 7.3: "continue" targeting switch is equivalent to "break"
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester amessina (at) messinet (dot) com
Created 5/12/19 (2515 days ago)
Due
Updated 5/12/19 (2515 days ago)
Assigned
Resolved 5/12/19 (2515 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/12/2019 05:04:06 PM Michael Rubinsky Comment #4
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
Fixed, thanks!
05/12/2019 05:03:32 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit 9344ac7adce5788a4f0a7bbd3dcdc6bcda9cb82e
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sun, 12 May 2019 13:03:19 -0400

Bug: 14924 Fix for PHP 7.3 continue/break error

  M lib/Horde/Perms/Permission.php

https://github.com/horde/Perms/commit/9344ac7adce5788a4f0a7bbd3dcdc6bcda9cb82e
05/12/2019 05:01:58 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit ee1265b616ae41b72f12d72dba3454f4447c00ca
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sun, 12 May 2019 13:01:46 -0400

Bug: 14924 Fix for PHP 7.3 continue/break error

  M lib/Horde/Perms/Permission.php

https://github.com/horde/Perms/commit/ee1265b616ae41b72f12d72dba3454f4447c00ca
05/12/2019 04:31:29 PM amessina (at) messinet (dot) com Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Horde/Perms: PHP 7.3: "continue" targeting switch is equivalent to "break"
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
After upgrading to PHP 7.3, the following error is observed:

PHP ERROR: "continue" targeting switch is equivalent to "break". Did 
you mean to use "continue 2"? [pid 7603 on line 174 of 
"/usr/share/pear/Horde/Perms/Permission.php"]

This is similar to what was reported and fixed for: 
https://bugs.horde.org/ticket/14884

Saved Queries