Home >Backend Development >PHP Tutorial >How to convert one-dimensional array to two-dimensional array in PHP_PHP tutorial
This article mainly introduces the method of converting a one-dimensional array to a two-dimensional array in PHP and analyzes the PHP operation array with examples. The skills have certain reference value. Friends in need can refer to it
The example in this article describes the method of converting a one-dimensional array to a two-dimensional array in PHP. Share it with everyone for your reference. The specific implementation method is as follows:
3 4 5
|
$asr[1] = array("a","b","c","d"); |