There is this exception thrown on master:
bin/php-cfg p example.php
RuntimeException Label 'compiled_label_880752126_2' already defined
(thrown in /home/dev/ircmaxell/php-cfg/lib/PHPCfg/ParserHandler/Stmt/Label.php:24)
with this code for as input:
<?php
function Test() {
foreach ($foo as $key => $val) {
if (isset($bar['a'])) {
switch ($zing['b']) {
}
}
}
}
There is this exception thrown on master:
with this code for as input: