Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Added support for negative integers #3

merged 1 commit into from Jan 21, 2013


None yet
2 participants

zettabyte commented Dec 29, 2010

The following currently fails: PhpSerialization.load(PhpSerialization.dump(-1))

I tweaked the regular expression in the Tokenizer class to allow an optional negative sign for NUMBERs.

divoxx added a commit that referenced this pull request Jan 21, 2013

Merge pull request #3 from zettabyte/master
Added support for negative integers

@divoxx divoxx merged commit d6ad748 into divoxx:master Jan 21, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment