Menu

#654 Warning: "continue" targeting switch is equivalent to "break".

4.7.0
closed-fixed
nobody
None
5
2019-01-16
2018-12-20
No

Switching to PHP 7 (from PHP 5.6), I get this warning:

 Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/html/bilingueanglais-heroku/web/adminer.php on line 1170

This only seem to occur on the login page.

This is with adminer 4.7.0 (but also occured with 4.6.2.)

The exact versions of PHP I've been using, if that helps:

  • PHP 5.6.39-1+ubuntu18.04.1+deb.sury.org+1 (cli)
  • PHP 7.3.0-2+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Dec 17 2018 09:22:47) ( NTS )

Discussion

  • Paul Borel

    Paul Borel - 2019-01-02

    I have same problem only with PHP 7.3.0. If I switch to php 7.2.13 not have this warning ....

     
  • michalzuber

    michalzuber - 2019-01-03

    Same for me with PHP 7.3

     
  • Jakub Vrána

    Jakub Vrána - 2019-01-16
    • status: open --> closed-fixed
     
  • Jakub Vrána

    Jakub Vrána - 2019-01-16
     

Log in to post a comment.

MongoDB Logo MongoDB