Changeset 2575 for lang/php/mumu

Show
Ignore:
Timestamp:
12/06/07 13:17:15 (7 years ago)
Author:
tasuku
Message:

r303@dhcp158 (orig r46): tasuku | 2007-09-11 22:43:13 +0900
ooo sugoi bug tuketa!


Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/php/mumu/trunk/mumu.php

    r2574 r2575  
    118118      if (array_key_exists($key, $dict)) { 
    119119        return $dict[$key]; 
    120       } else { 
    121         throw new MuValueDoesNotExistException("Failed lookup for key [$key]"); 
    122       } 
    123     } 
    124     return false; 
     120      } 
     121    } 
     122    throw new MuValueDoesNotExistException("Failed lookup for key [$key]"); 
    125123  } 
    126124  function set($key, $value) { 
     
    416414      $values = $context->resolve($this->sequence); 
    417415    } catch (MuValueDoesNotExistException $e) { 
     416      echo "gya-i ".$this->sequence."\n"; 
    418417      $values = array(); 
    419418    }