This is a bundle for Sequel pro to copy data as PHP array.
Make sure you have mcrypt extension installed. If you are using homebrew run brew install php55-mcrypt
.
Open Sequel Pro
In menu select Bundles -> Bundle editor
In opened Bundle editor select "Data Table" -> Show
Select "Copy" -> Show
Click "+" in the bottom left corner of bundle editor.
Paste contents of script to "Command:" field.