如何在PHP中将整数转换为数组?
问题描述:
将整数转换为数字数组的最简单方法是什么?
What would be the most simple way to convert an integer to an array of numbers?
示例:
2468
应该导致 array(2,4,6,8)
.
将整数转换为数字数组的最简单方法是什么?
What would be the most simple way to convert an integer to an array of numbers?
示例:
2468
应该导致 array(2,4,6,8)
.