1--TEST-- 2Bug #80194: Assertion failure during block assembly of unreachable free with leading nop 3--FILE-- 4<?php 5 6function test($x) { 7 switch ($x->y) { 8 default: 9 throw new Exception; 10 case 'foobar': 11 return new stdClass(); 12 break; 13 } 14} 15 16$x = (object)['y' => 'foobar']; 17var_dump(test($x)); 18 19?> 20--EXPECT-- 21object(stdClass)#2 (0) { 22} 23