summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/ssa_bug_007.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/tests/ssa_bug_007.phpt')
-rw-r--r--ext/opcache/tests/ssa_bug_007.phpt24
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/opcache/tests/ssa_bug_007.phpt b/ext/opcache/tests/ssa_bug_007.phpt
index e5237687b2..344a05665d 100644
--- a/ext/opcache/tests/ssa_bug_007.phpt
+++ b/ext/opcache/tests/ssa_bug_007.phpt
@@ -5,18 +5,18 @@ Incorrect CFG/SSA construction for SWITCH with few identical successors
--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;
- }
- }
+ foreach ($properties as $key => $value) {
+ switch ($key) {
+ case 'Trapped':
+ if ($value == null) {
+ $docInfo->$key = 1;
+ }
+ case 'CreationDate':
+ case 'ModDate':
+ $docInfo->$key = 2;
+ break;
+ }
+ }
}
?>
OK