2017 © Pedro Peláez
 

library array2text

this is a php script, it can convert a php associative array to a text

image

changwei/array2text

this is a php script, it can convert a php associative array to a text

  • Saturday, June 10, 2017
  • by changwei
  • Repository
  • 1 Watchers
  • 2 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 13 % Grown

The README.md

array2text

convert a php associative array to a text, (*1)

一个将PHP关联数组转换为文本形式表格的小工具, (*2)

example

, (*3)

input:, (*4)

$arr[0]['id'] = 1;
$arr[0]['title'] = '一';
$arr[0]['author'] = 'h';
$arr[1]['id'] = 1997;
$arr[1]['title'] = '一个数组转文本的小工具';
$arr[1]['author'] = '昌维changwei';
$arr[2]['id'] = 333; // 13
$arr[2]['title'] = '三三三'; // 12
$arr[2]['author'] = 'hhh'; // 10

output:, (*5)

Administrator@changwei MINGW64 /d/www/array2text/example
$ php example.php
+------+------------------------+--------------+
| id   | title                  | author       |
+------+------------------------+--------------+
| 1    | 一                     | h            |
+------+------------------------+--------------+
| 1997 | 一个数组转文本的小工具 | 昌维changwei |
+------+------------------------+--------------+
| 333  | 三三三                 | hhh          |
+------+------------------------+--------------+

The Versions

10/06 2017

dev-master

9999999-dev

this is a php script, it can convert a php associative array to a text

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.6

 

array text convert util

10/06 2017

dev-release

dev-release

this is a php script, it can convert a php associative array to a text

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.6

 

array text convert util

10/06 2017

1.0.0

1.0.0.0

this is a php script, it can convert a php associative array to a text

  Sources   Download

Apache-2.0

The Requires

  • php >=5.5.6

 

array text convert util