RepoJournal
Laravel

@laravel

PHP's most popular framework - Forge, Vapor, and a massive paying audience

Keep up with Laravel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: PHP Full archive →

The Wire · Showcase

LARAVEL FIXES NUMBER UTILITY CRASH ON INFINITE VALUES

By RepoJournal · Filed · About Laravel

Number::fileSize() was spinning into infinity on INF and NAN inputs, producing nonsensical output like "∞ YB" - a fix just landed in 13.x.

The Number::fileSize() method had a critical flaw: when passed non-finite values (INF, -INF, or NAN), the method would loop through every unit in the scale until memory exhaustion because dividing infinity by 1024 still yields infinity [1]. This mirrors a similar bug that was fixed in Number::summarize() just days ago [2], which guards against non-finite inputs before iteration. The new PR applies the same is_finite() guard to fileSize(), stopping the runaway loop immediately and returning a sensible fallback. Framework maintenance also bumped GitHub Actions dependencies [3] to keep CI pipelines current, a routine hygiene task that doesn't affect production code.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] [13.x] Fix Number::fileSize crashing on INF/NAN inputs ↗ laravel/framework
  2. [2] [13.x] Fix Number::fileSize returning wrong unit suffix for non-finite inputs (#60625) laravel/framework
  3. [3] Bump the github-actions group with 2 updates ↗ laravel/framework

Quick answers

What shipped in Laravel on June 30, 2026?
Number::fileSize() was spinning into infinity on INF and NAN inputs, producing nonsensical output like "∞ YB" - a fix just landed in 13.x. In total, 3 commits and 2 pull requests landed.
Who contributed to Laravel on June 30, 2026?
2 developers shipped this update, including Amirhf1 and dependabot[bot].
What were the notable Laravel updates?
[13.x] Fix Number::fileSize crashing on INF/NAN inputs, [13.x] Fix Number::fileSize returning wrong unit suffix for non-finite inputs (#60625), and Bump the github-actions group with 2 updates.

More from @laravel

Daily updates, in your inbox

Follow Laravel

Keep up with Laravel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.