Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
PHP Libraries
Light Logo Dark Logo
PHP Libraries
  • Components
    • Dataset component
      • Installation
      • Concepts
      • Stream
      • Operators
        • Available operators
          • bufferCount()
          • bufferWhile()
          • flatten()
          • leftJoin()
          • map()
          • merge()
          • reverse()
          • sort()
          • distinct()
          • filter()
          • skip()
          • take()
          • ifEmpty()
          • overflow()
          • finalize()
          • tap()
        • Write your own operator
      • Reducers
        • Available reducers
          • average()
          • count()
          • max()
          • min()
          • reduce()
          • sum()
        • Write your own reducer
      • Collectors
    • Metadata component
      • Installation
      • Supported features
      • Reading metadata
      • Inspiration
    • Query component
      • Motivation
      • History
  • Bundles
    • Metadata Bundle
  • Contributing
  • Development setup
Back to top
View this page

sum()ΒΆ

Next
Write your own reducer
Previous
reduce()
Copyright © 2025, RunOpenCode
Made with Sphinx and @pradyunsg's Furo