mirror of
https://github.com/php/php-src.git
synced 2026-04-26 01:18:19 +02:00
e9f783fcdd
For rationale, see #6787 Extensions migrated in part 3: * ftp * gmp * iconv * opcache * shmop
25 lines
502 B
PHP
25 lines
502 B
PHP
--TEST--
|
|
Incorrect CFG/SSA construction for SWITCH with few identical successors
|
|
--EXTENSIONS--
|
|
opcache
|
|
--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
|