PHP typy pre deti ... diel 2: povedz PHP presne, čo chceš (scalar casts)
Nechaj PHP hádať, a bude hádať zle. Diel 2 série: explicitné casty (int), (string), (float), (bool), declare(strict_types=1) a vzor cast-at-boundary, ktorý šetrí CPU v cykloch.
Read article →