My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads

This project fully moved to https://github.com/Alexxz/Erlang-term-php-parser

Just a library to parse Erlang terms in PHP.

Usage

  $source_string = '{[],123,<11.22.33>,"123"}';
  $term = erl_list2string(erl_parse_term($source_string));
  print_r($term);

Result

Array
(
    [type] => tuple
    [data] => Array
        (
            [0] => Array
                (
                    [type] => list
                    [data] => Array
                        (
                        )

                )

            [1] => 123
            [2] => Array
                (
                    [type] => pid
                    [data] => <11.22.33>
                )

            [3] => 123
        )

)
Powered by Google Project Hosting