Skip to content
Snippets Groups Projects
Commit 14d6b336 authored by Michael Aaron Murphy's avatar Michael Aaron Murphy
Browse files

Implement Length Methods

Implements the `$len()` and `$len_bytes()` methods for strings, and
the `@len()` method for arrays. The len method for arrays returns
the number of elements in the array. The len method for strings
returns the number of graphemes in the string, whereas the
len_bytes method returns the number of bytes the string occupies.
parent 7f2deebc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment