Skip to content

RuntimeException Label 'compiled_label_880752126_2' already defined #115

@eric-therond

Description

@eric-therond

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']) {
				
			}
		}
	}	
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions