86eb82ec2f
This is exactly what Zend's parser does now. I'm a little sad about adding the bool parameter, but all the checking code was exactly duplicated otherwise, and that seemed like the worse alternative. Fixes #854
8 linhas
102 B
PHP
8 linhas
102 B
PHP
<?php
|
|
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
$a = 1;
|
|
while (false) {
|
|
break $a;
|
|
}
|