vierbergenlars/php-semver — Issue #4: Array.length is ported as strlen
Author: vierbergenlars
Created: 2012-02-22 16:00:59+00:00
State: open

In JavaScript, two types of .length exist: String.lenght and Array.length, they are both ported to strlen in PHP. This causes errors if the first argument is an array. Use SemVer::_js_length() instead