v3.26.3
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Cash flows from operating activities:        
Net Income (Loss) $ 1,506,837 $ 188,366 $ (124,775) $ 1,506,837
Adjustments to reconcile net (loss) income to net cash provided by operating activities:        
Depreciation and amortization 70,640 72,701 73,199  
Stock-based compensation 357,667 351,590 333,833  
Amortization of debt discount and issuance cost 5,452 3,877 41,600  
Conversion of convertible senior notes attributable to debt discount and issuance costs 0 0 107,877  
Operating lease cost, net of accretion 34,946 29,029 31,462  
Non-cash interest expense 0 0 18,550  
Inducement expense from partial repurchase of the 2027 Notes 0 11,347 0  
Deferred income taxes (1,198,850) 3,639 2,520  
Other (4,792) (8,468) (15,832)  
Changes in operating assets and liabilities:        
Accounts receivable, net (39,170) (71,886) (53,811)  
Deferred commissions (31,630) 16,517 (820)  
Prepaid expenses and other assets (130,217) (8,101) 46,623  
Accounts payable 19,443 30,018 14,749  
Accrued compensation and benefits 44,492 33,286 51,923  
Accrued expenses and other liabilities 709 (4,269) (82,632)  
Operating leases, net (33,813) (29,954) (30,475)  
Deferred revenue 314,974 203,764 258,940  
Net cash provided by operating activities 916,688 821,456 672,931  
Cash flows from investing activities:        
Maturities of investments 805,208 476,173 774,237  
Purchases of investments (1,167,799) (1,359,593) (871,259)  
Sales of investments 2,750 3,016 706,363  
Payments for acquisitions, net of cash acquired 0 0 (4,500)  
Purchases of property and equipment (76,013) (71,283) (75,252)  
Net cash (used in) provided by investing activities (435,854) (951,687) 529,589  
Cash flows from financing activities:        
Repayment of convertible notes 0 0 (817,633)  
Proceeds from sales of shares through employee equity incentive plans 61,447 68,935 51,571  
Proceeds from sales of shares through private placement 150,000 0 0  
Taxes paid related to net share settlement of equity awards (195,534) (256,636) (161,552)  
Proceeds from the issuance of convertible notes, net of issuance costs 0 848,010 0  
Payment of third-party debt issuance costs 0 (3,448) 0  
Partial repurchase of the 2027 Notes 0 (95,453) 0  
Payment of revolver issuance costs 0 (2,794) 0  
Repurchases of common stock (483,543) (307,900) (131,139)  
Other financing activities, net (5,399) (6,628) (3,876)  
Net cash (used in) provided by financing activities (473,029) 244,086 (1,062,629)  
Net increase in cash, cash equivalents and restricted cash 7,805 113,855 139,891  
Cash, cash equivalents and restricted cash—beginning of period 769,517 655,662 515,771  
Cash, cash equivalents and restricted cash—end of period 777,322 769,517 655,662 $ 515,771
Restricted cash [1] 14 15 392  
Cash and cash equivalents—end of period 777,308 769,502 655,270  
Supplemental disclosures of cash flow information:        
Cash paid for income taxes 30,274 32,537 23,647  
Supplemental disclosures of non-cash investing and financing information:        
Purchases of property and equipment included in accounts payable and accrued and other liabilities 2,412 6,945 19,275  
Forfeited paid-in-kind interest recognized in equity upon note conversion 0 0 6,019  
Unpaid taxes related to net share settlement of equity awards included in accrued expenses and other liabilities $ 7,615 $ 13,423 $ 0  
[1] Included within other assets—non-current in the consolidated balance sheets.