Zynga Inc. /zigman2/quotes/209662259/composite ZNGA -0.57% shares were up 6% in after-hours trading Wednesday after the online-gaming developer reported fourth-quarter earnings that beat Wall Street expectations. Zynga said it lost $4 million, or breakeven per share, in the quarter, versus a net income of $1 million, or breakeven per share, in the year-ago fourth quarter. Revenue surged 63% to $404 million from $249 million a year ago. Analysts surveyed by FactSet had expected a loss of 3 cents a share on sales of $418 million. Zynga shares are up 31.5% over the last 12 months. The S&P 500 index /zigman2/quotes/210599714/realtime SPX +1.05% has gained 22.1% the last year.