Skip to content

Commit

Permalink
Update readme with 7.2 minimum version
Browse files Browse the repository at this point in the history
  • Loading branch information
omitobi committed May 3, 2020
1 parent 72e6807 commit e5fef5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: php

php:
- 7.2
- 7.3
- 7.4

before_script:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ $arr = array_intersect($arr, [0 => 'ADE']);

//$arr is ['ADE']
```
> PS: You can still use the old `function() { return v; }`, `fn()` is the new short arrow function in PHP 7.4+ See: https://www.php.net/manual/en/functions.arrow.php
## Other Usages

Expand Down

0 comments on commit e5fef5e

Please sign in to comment.