3 months ago
1
0
0
0
Posts by PHP Digest
Array Spread Operator
Merge arrays cleanly: Works with string keys since PHP 8.1.
```
$defaults = ['debug' => false, 'cache' => true];
$custom = ['debug' => true];
$config = [...$defaults, ...$custom];
// ['debug' => true, 'cache' => true]
```
#PHP #php
3 months ago
1
0
0
0
youtu.be/63PnJkdxCLg
3 months ago
10
1
0
0
compiled php to wasm, because why not?
3 months ago
10
1
2
0
Random card driver: "How are you not DEAD" PHP styled as Sonic: "I have no idea!"
php is still really alive!
4 months ago
8
0
0
0