Arquivos
hhvm/hphp/test/slow/break_statement/badexp.php
T
Owen Yamauchi 86eb82ec2f Fix break/continue parsing
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
2013-07-18 17:28:38 -07:00

8 linhas
102 B
PHP

<?php
// Copyright 2004-present Facebook. All Rights Reserved.
$a = 1;
while (false) {
break $a;
}