---
title: "PHP 解决 32位系统int溢出的方法"
author: "kenbli"
date: "2012-11-28T11:30:55Z"
tags: []
categories: ["编程语言"]
slug: "php-32-int"
draft: false
lastmod: "2012-11-28T11:30:55Z"
id: 1736497
url: "https://wasabi.iteye.com/blog/1736497"
---

int类型先转成decimal类型，再转string类型

$tweet = strval(number_format($tweet,0,'',''));