alecwhardy
alecwhardy

Reputation: 2718

What language or format is this in?

After looking at the Wordpress and Joomla database, I began to recognize strings in this format. What is it, how does it work?

here's an example:

a:5:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:62:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;

Upvotes: 2

Views: 107

Answers (2)

Kai Qing
Kai Qing

Reputation: 18833

It's a serialized array. Basically a string to be used by the serialize() and unserialize() functions in PHP, the base language for wordpress and likely joomla though I have never worked with joomla myself.

Upvotes: 2

ariefbayu
ariefbayu

Reputation: 21979

that was serialized string from an object or array.

Upvotes: 4

Related Questions