Was macht ein Schlüsselwort in Abschlüssen in PHP?
Ich habe Code wie diesen gefunden und kann nicht finden, was er tut
<code>$callback = function ($pricePerItem) use ($tax, &$total) { $total += $pricePerItem * ($tax + 1.0); }; </code>
PHP-Dokumentation nur sagen
Das Schlüsselwort 'use' gilt auch für Verschlusskonstrukte:
aber keine erklärung was es eigentlich tut.