You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
continue statements targeting switch control flow structures will now generate a warning. In PHP such continue statements are equivalent to break, while they behave as continue 2 in other languages.
Hi,
I was scanning a different codebase for PHP 7.3, and came across these:
less.php/lib/Less/Exception/Chunk.php
Line 70 in 42925c5
less.php/lib/Less/Exception/Chunk.php
Line 78 in 42925c5
less.php/lib/Less/Exception/Chunk.php
Line 83 in 42925c5
less.php/lib/Less/Exception/Chunk.php
Line 89 in 42925c5
less.php/lib/Less/Exception/Chunk.php
Line 99 in 42925c5
less.php/lib/Less/Exception/Chunk.php
Line 102 in 42925c5
less.php/lib/Less/Exception/Chunk.php
Line 122 in 42925c5
less.php/lib/Less/Exception/Chunk.php
Line 127 in 42925c5
less.php/lib/Less/Exception/Chunk.php
Line 148 in 42925c5
less.php/lib/Less/Exception/Chunk.php
Line 155 in 42925c5
http://php.net/manual/en/migration73.incompatible.php#migration73.incompatible.core.continue-targeting-switch
At a glance, it looks like these can be changed to
break
, but I'll admit I haven't tested this case.The text was updated successfully, but these errors were encountered: