Brian Dunning's FileMaker Custom Functions

phpUnserialize ( text )

Unserialize values which were serialized by PHP's serialize() function

  Average rating: 4.4 (27 votes) Log in to vote

Sam Barnum   Sam Barnum - Show more from this author

Share on Facebook Share on Twitter

  Sample input:
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

If you come across values in a database which start with a type and contain colon-delimited data, that's probably a value written by PHP's serialize() function. This is a quick little function to convert those values to FileMaker types.



Daniel   Daniel
Feb 15, 2015
colin   colin
Jan 11, 2019
Fantastic thank you!! Now I can read this wordpress data

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: