summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/bug77266.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/tests/bug77266.phpt')
-rw-r--r--ext/opcache/tests/bug77266.phpt24
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/opcache/tests/bug77266.phpt b/ext/opcache/tests/bug77266.phpt
index 8e225b8480..08fc74f96d 100644
--- a/ext/opcache/tests/bug77266.phpt
+++ b/ext/opcache/tests/bug77266.phpt
@@ -10,21 +10,21 @@ opcache.optimization_level=-1
<?php
final class Lock
{
- private static function clearOrphanedLocks()
- {
- $lockList = [];
+ private static function clearOrphanedLocks()
+ {
+ $lockList = [];
- $serverMonitors = array();
- $listCount = count($lockList);
- if ( is_array($lockList) && $listCount > 0 ) {
- $v = explode(':', $value);
- if (!$serverMonitors[$v[0]]['m']) {
- $serverMonitors[$v[0]]['m'] = new ServerMonitor($v[0]);
- }
+ $serverMonitors = array();
+ $listCount = count($lockList);
+ if ( is_array($lockList) && $listCount > 0 ) {
+ $v = explode(':', $value);
+ if (!$serverMonitors[$v[0]]['m']) {
+ $serverMonitors[$v[0]]['m'] = new ServerMonitor($v[0]);
+ }
- }
+ }
- }
+ }
}
?>