Merge remote-tracking branch 'origin/master'

This commit is contained in:
Reza
2015-10-01 08:48:37 +03:30
2 changed files with 5 additions and 3 deletions

View File

@ -5,11 +5,13 @@
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {
"name": "Reza", "name": "Reza Salarmehr",
"email": "salarmehr@gmail.com" "email": "salarmehr@gmail.com"
} }
], ],
"require": {}, "require": {
"php": ">=5.4.0"
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Salarmehr\\": "src/" "Salarmehr\\": "src/"

View File

@ -1,6 +1,6 @@
Ary Ary
=== ===
Are you tired from casting objects and array to each other? Ary is a light class/function that makes accessing array items more convenient. Are you tired from casting objects and arrays to each other? Don't do that anymore! Ary is a light class/function that makes accessing array items more convenient.
1. You can access array items using `->` or `[]` syntax. 1. You can access array items using `->` or `[]` syntax.
2. You will get `null` if an index does not exists. 2. You will get `null` if an index does not exists.