Changeset 2600

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

r328@dhcp158 (orig r71): tasuku | 2007-09-16 09:34:17 +0900
chotto fast


Files:
1 modified

Legend:

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

    r2599 r2600  
    135135    if (ctype_digit($expr)) { 
    136136      $current = (strpos($expr, '.') === false) ? intval($expr) : floatval($expr); 
    137     } elseif (in_array($expr{0}, array("'", '"')) && $expr{0} == $expr{-1}) { 
     137    } elseif (($expr{0} == "'" || $expr{0} ==  '"') && 
     138              $expr{0} == $expr{-1}) { 
    138139      $current = substr($expr, 1, strlen($expr) - 2); 
    139140    } else {