← Back
Editing: ssa_bug_007.phpt
--TEST-- Incorrect CFG/SSA construction for SWITCH with few identical successors --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php function render($properties) { foreach ($properties as $key => $value) { switch ($key) { case 'Trapped': if ($value == null) { $docInfo->$key = 1; } case 'CreationDate': case 'ModDate': $docInfo->$key = 2; break; } } } ?> OK --EXPECT-- OK
Save File
Cancel