Apple's priciest phone has barely just hit stores — but the anticipation hasn't stopped consumers from spending, as the company mints cash and crushes Wall Street's expectations. Apple reported quarterly earnings on Thursday that were above expectations, and revenue that topped estimates.

Apple kills it, beating on every major item

Q4 adjusted EPS: $2.07 vs. $1.87 expected by a Thomson Reuters consensus estimate

Q4 revenue: $52.6 billion vs. $50.7 billion expected by Thomson Reuters

: 46.7 million vs. 46 million expected by a FactSet consensus estimate A year ago, Apple reported adjusted earnings of $1.67 per diluted share on revenue of $46.9 billion. Q1 revenue guidance: $84 billion to $87 billion vs. $84.9 billion expected by Thomson Reuters Apple sold just a few more iPhones than Wall Street expected but made way more money anyway. The iPhone 8 and iPhone 8 Plus "instantly" became Apple's top-two selling products at launch, surprising even executives, chief executive Tim Cook said on a conference call. And it doesn't expect to slow down: Revenue guidance for next quarter was also on the high end of estimates. "You can see from our guidance, we're very bullish," Cook said on a conference call. Shares popped more than 3 percent after hours, pushing past the all-time intraday high price of $169.94 set during the regular session on Wednesday.

Still waiting on the iPhone X

Apple's flagship product, , hits stores on Friday — later than usual — and isn't reflected in Thursday's quarterly earnings report. And the report barely raises the curtain on sales of the iPhone 8 series. "The iPhone X orders are very strong for both direct customers and for .... carriers throughout the world," Cook said. "The first sales started in Australia, and I'm told we had several hundred people waiting at the store in Sydney, and I'm getting similar reports from across that region." With a little reading between the lines, Apple's fiscal fourth-quarter performance may hint at whether consumers are waiting on the new phone to splurge during the all-important holiday season.

Gross margins were 37.9 percent during the quarter, slightly below the 38 percent expected by a StreetAccount consensus estimate — meaning Apple is selling products that are more expensive to make. This all comes as Apple moves within arm's reach of a trillion-dollar valuation, securing its place as the most valuable public company in the world. Apple shares have risen about 50 percent over the past year, and Apple's market capitalization approached after hours on Thursday. Though the iPhone franchise is somewhat in limbo, there are other factors afoot for Apple. For one, Apple is likely the top beneficiary of U.S. technology companies when it comes to a new Republican tax proposal on overseas cash. Apple expects a tax rate of 25.5 percent in the coming quarter, compared with the 26 percent it forecast a year ago. Apple also has a blossoming service business. That division includes content, AppleCare, and Apple Pay, but the App Store is the "jewel" of the services segment, Pacific Crest analyst Andy Hargreaves wrote earlier this year. Services revenue hit $8.5 billion during the fourth fiscal quarter, an all-time high, and Cook said the company is well on its way to a goal, set in January, to double 2016's services revenue of $24 billion by 2020. Cook said it hit $30 billion in the 2017 fiscal year. Apple has invested heavily in greater China — historically its third-largest market behind the Americas and Europe — and has a nascent customer base in India. Sales in China hit $9.8 billion, up 12 percent from a year ago, returning the segment to growth after an extended slump. IPads, particularly, are popular in these regions, and sales grew 39 percent year-over-year in India, Luca Maestri, Apple's chief financial officer, said on a conference call. The company also showed off other new products in the back half of this year, amid back-to-school shopping season: the Apple Watch Series 3 with a cellular connection, its thinnest and lightest MacBook yet, and the Apple TV 4K. The HomePod speaker is also forthcoming. The computer market may be shrinking, but Apple is still hitting record sales for its iconic computers: Mac revenue was $7.17 billion, up 25 percent from a year ago, and reached record revenue for the 2017 fiscal year, Maestri said. Other products revenue hit $3.23 billion, up 36 percent from a year ago. Apple's board also declared a cash dividend of 63 cents per share on Thursday. Correction: This version corrects the data in the Apple revenue graphic. Correction: An earlier version of this story said that Apple's market cap hit $900 billion. The company issued a release Friday morning saying it reduced its outstanding shares, so it did not reach $900 billion in valuation.

WATCH: Apple gives strong Q1 revenue guidance