Home
last modified time | relevance | path

Searched refs:cast (Results 1 – 3 of 3) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DParserAbstract.php724 protected function getFloatCastKind(string $cast): int { argument
725 $cast = strtolower($cast);
726 if (strpos($cast, 'float') !== false) {
730 if (strpos($cast, 'real') !== false) {
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php490 $cast = '(double)';
492 $cast = '(float)';
495 $cast = '(real)';
497 …return $this->pPrefixOp(Cast\Double::class, $cast . ' ', $node->expr, $precedence, $lhsPrecedence);
/PHP-Parser/
H A DCHANGELOG.md623 `(double)` and `(real)`. The form of the cast will be preserved by the pretty printer. (#565)

Completed in 16 milliseconds