Skip to content

Commit 7da75a1

Browse files
committed
quickfix
1 parent 166e7dd commit 7da75a1

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ When you struggle to understand a notion, I suggest you look for answers on the
2828

2929
### Recent PHP releases
3030

31-
| Major Version |Release date|
32-
|----------------------------------------------------|---|
31+
| Version |Release date|
32+
|----------------------------------------------|---|
3333
| [PHP 8.1](https://www.php.net/releases/8.1/en.php) |November 2021|
3434
| [PHP 8.0](https://www.php.net/releases/8.0/en.php) |November 2020|
35-
| PHP 7.4 |November 2019|
36-
| PHP 7.3 |December 2018|
37-
| PHP 7.2 |November 2017|
38-
| PHP 7.1 |December 2016|
39-
| PHP 7.0 |December 2015|
35+
| PHP 7.4 |November 2019|
36+
| PHP 7.3 |December 2018|
37+
| PHP 7.2 |November 2017|
38+
| PHP 7.1 |December 2016|
39+
| PHP 7.0 |December 2015|
4040

4141
More infos on [php.net](https://www.php.net/supported-versions.php).
4242

@@ -510,7 +510,7 @@ list($a, $b, $c) = $array; // PHP Warning: Undefined array key 0 ...
510510
// $c = null
511511
```
512512

513-
But since PHP 7.1 (~ dec 2016), you can destruct it with another syntax based on keys:
513+
But since PHP 7.1, you can destruct it with another syntax based on keys:
514514

515515
```php
516516
list('foo' => $a, 'bar' => $b, 'baz' => $c) = $array;
@@ -551,7 +551,7 @@ list('moe' => $d) = $array; // PHP Warning: Undefined array key "moe"
551551

552552
![php-version-70](https://shields.io/badge/php->=7.0-blue)
553553

554-
Since PHP 7.0 (~ dec 2015), you can use the null coalescing operator to provide a fallback when a property is null with no error nor warning:
554+
Since PHP 7.0, you can use the null coalescing operator to provide a fallback when a property is null with no error nor warning:
555555

556556
```php
557557
$a = null;
@@ -897,7 +897,7 @@ $a?->foo = 'bar'; // PHP Fatal error: Can't use nullsafe operator in write cont
897897

898898
![php-version-56](https://shields.io/badge/php->=5.6-blue)
899899

900-
Since PHP 5.6 (~ aug 2014), you can add a variadic parameter to any function that let you use an argument lists with variable-length:
900+
Since PHP 5.6 (~ august 2014), you can add a variadic parameter to any function that let you use an argument lists with variable-length:
901901

902902
```php
903903
function countParameters(string $param, string ...$options): int
@@ -1054,7 +1054,7 @@ $array3 = array_merge($array1,$array2);
10541054
// $array3 = ['baz', 'foo', 'bar']
10551055
```
10561056

1057-
But since PHP 7.4 (~ nov 2019), you can unpack indexed arrays, with spread operator:
1057+
But since PHP 7.4, you can unpack indexed arrays, with spread operator:
10581058

10591059
```php
10601060
$array1 = ['foo', 'bar'];

0 commit comments

Comments
 (0)