Support HHVM T_ONUMBER token

This commit is contained in:
nikic 2014-09-30 20:55:43 +02:00
parent 66fd29cb58
commit 99df8b86ae

View File

@ -194,6 +194,11 @@ class Lexer
}
}
// HHVM uses a special token for numbers that overflow to double
if (defined('T_ONUMBER')) {
$tokenMap[T_ONUMBER] = Parser::T_DNUMBER;
}
return $tokenMap;
}
}