summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/bug77266.phpt
blob: 8e225b8480614fb474487d05c72ee13c0645ab61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--TEST--
Bug #77266 (Assertion failed in dce_live_ranges)
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
final class Lock
{
	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]);
			}

		}

	}

}
?>
okey
--EXPECT--
okey