bug77266.phpt 618 B

123456789101112131415161718192021222324252627282930313233
  1. --TEST--
  2. Bug #77266 (Assertion failed in dce_live_ranges)
  3. --INI--
  4. opcache.enable=1
  5. opcache.enable_cli=1
  6. opcache.optimization_level=-1
  7. --EXTENSIONS--
  8. opcache
  9. --FILE--
  10. <?php
  11. final class Lock
  12. {
  13. private static function clearOrphanedLocks()
  14. {
  15. $lockList = [];
  16. $serverMonitors = array();
  17. $listCount = count($lockList);
  18. if ( is_array($lockList) && $listCount > 0 ) {
  19. $v = explode(':', $value);
  20. if (!$serverMonitors[$v[0]]['m']) {
  21. $serverMonitors[$v[0]]['m'] = new ServerMonitor($v[0]);
  22. }
  23. }
  24. }
  25. }
  26. ?>
  27. okey
  28. --EXPECT--
  29. okey