Znalostná bázaCentrum skúšok
SKSlovenčina
Vybrať jazyk13

CKTIS / PHP

Znalostná báza — PHP

Syntax, operátory a pojmy programovania. Nájdi vysvetlenie, prezri si príklad a pokračuj v učení.

Počet hesiel: 504

PHP

AppendIterator

Spojí objekty Iterator v poradí pridania bez zlučovania polí.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

ArgumentCountError

ArgumentCountError dedí od TypeError.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

ArrayAccess

Metódy offsetExists, offsetGet, offsetSet a offsetUnset definujú operácie s hranatými zátvorkami.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

ArrayIterator

Zabalí pole do objektu s úpravami podľa indexu, počtom a kurzorom. seek prijíma pozíciu prechodu od nuly aj pri mape a mimo rozsahu vyvolá OutOfBoundsException. getArrayCopy vráti aktuálny obsah ako pole.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

AssertionError

AssertionError je Error vyvolaná pri vykonaní nepravdivej asercie so zapnutými výnimkami asercií.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

BadMethodCallException

BadMethodCallException rozširuje BadFunctionCallException pre neplatné volania metód.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

CachingIterator

Pridá náhľad o jeden prvok vpred. hasNext povie, či po aktuálnom prvku nasleduje ďalší, čo sa hodí pre oddeľovače.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

CallbackFilterIterator

Filtruje lenivo a odovzdá funkcii aktuálnu hodnotu, kľúč a vnútorný iterátor.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

Closure

Anonymná aj šípková funkcia je objekt Closure. fromCallable zabalí cieľ volateľný v aktuálnom rozsahu.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

Countable

Implementujte count(): int, aby globálne count mohlo zistiť veľkosť objektu.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

DateInterval

Predstavuje kalendárny krok, napríklad mesiac alebo tridsať dní.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

DatePeriod

Prechádza opakované termíny bez zostavenia zoznamu.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

DateTime

Uchováva meniteľný dátum a čas. modify zmení ten istý objekt, takže zmenu vidí aj iná premenná, ktorá naň ukazuje.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

DateTimeImmutable

Zachová pôvodný dátum pri odvodení nového. add vráti nový objekt a ignorovanie výsledku ponechá premennú bez zmeny.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

DateTimeZone

Pomenované pásmo použije miestne pravidlá pre daný okamih. getOffset dá sekundy so znamienkom východne od UTC a môže sa meniť podľa obdobia.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

DivisionByZeroError

DivisionByZeroError dedí od ArithmeticError.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

DomainException

DomainException je LogicException pre hodnotu mimo definičného oboru operácie.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

EmptyIterator

Poskytne Iterator bez pozícií, keď príjemca vyžaduje iterátor, ale nie sú údaje. rewind aj next ho ponechajú neplatný a foreach nevykoná žiadny priechod.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

Error

Základná trieda chybových objektov jadra ako TypeError a ValueError.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

Exception

Opisuje výnimočný stav správou, celým kódom a voliteľnou príčinou Throwable. throw preruší beh k zodpovedajúcemu catch.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

Fiber

Od PHP 8.1 pozastaví a obnoví kooperatívny kontext behu. start vráti argument suspend a argument resume sa vnútri stane výsledkom suspend.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

FilterIterator

Odvoďte triedu od abstraktného základu a implementujte accept na výber pri vnútornom kurzore.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

Generator

Volanie generátorovej funkcie vytvorí pozastavený iterátor.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested
PHP

InfiniteIterator

Opakuje prechod pretáčateľným iterátorom a v každom kole zachová kľúče.

Stredne pokročilá · PHP 8.4; repository runtime, production runtime not attested