I've these arrays:
<?php
// New
$array1 = array(
array(
'g_id' => '1',
'g_title' => 'Root Admin',
'g_perm_id' => '1',
'g_bitoptions' => '0'
),
array(
'g_id' => '2',
'g_title' => 'Member',
'g_perm_id' => '2',
'g_bitoptions' => '32'
),
array(
'g_id' => '3',
'g_title' => 'Banned',
'g_perm_id' => '3',
'g_bitoptions' => '0'
)
);
// Old
$array2 = array(
array(
'g_id' => '1',
'g_title' => 'Admin',
'g_perm_id' => '1',
'g_bitoptions' => '0'
),
array(
'g_id' => '2',
'g_title' => 'User',
'g_perm_id' => '2',
'g_bitoptions' => '0'
),
array(
'g_id' => '4',
'g_title' => 'Validating',
'g_perm_id' => '4',
'g_bitoptions' => '0'
)
);
我需要的是一个HTML可视化差异,就像这张图片一样: diff http://imageshack.us/a/img519/3237/diffe.png 这里有人知道任何第三方类可以做到这一点吗?我已经看过一些但没有一个能够满足要求。 =/
提前感谢你。