Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in php 7.3 #100

Open
jq153387 opened this issue Nov 7, 2019 · 0 comments
Open

Bug in php 7.3 #100

jq153387 opened this issue Nov 7, 2019 · 0 comments

Comments

@jq153387
Copy link

jq153387 commented Nov 7, 2019

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in
\libraries\windwalker\vendor\windwalker\filesystem\Iterator\ArrayObject.php on line 454

Image 032

foreach ($ar as $k => $v) {
  switch ($k) {
		case 'flag':
			$this->setFlags($v);
			break;
		case 'storage':
			$this->exchangeArray($v);
			break;
		case 'iteratorClass':
			$this->setIteratorClass($v);
			break;
		case 'protectedProperties':
			continue 2;  //"continue" uses "continue 2" to resolve this error
		default:
			$this->__set($k, $v);
	}
}
@jq153387 jq153387 changed the title bug in php 7.3 Bug in php 7.3 Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant