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

InvalidArgumentException

InvalidArgumentException je LogicException, ktorú môže kód výslovne vyvolať pre argument nevhodného typu.

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

Iterator

Definuje kurzor pomocou rewind, valid, current, key a next. foreach začne rewind, pred čítaním overí valid a po prvku sa posunie. valid má sledovať pozíciu nezávisle od hodnoty, aby uložené null či false neukončilo prechod.

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

IteratorAggregate

Poskytne kolekcii vonkajší kurzor cez getIterator(): Traversable.

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

IteratorIterator

Prispôsobí zdroj Traversable kurzoru Iterator.

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

JsonException

Zachytí chybu operácie JSON s príznakom JSON_THROW_ON_ERROR.

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

JsonSerializable

jsonSerialize dodá hodnotu na serializáciu cez json_encode.

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

LimitIterator

Sprístupní okno iterátora od pozície počítanej od nuly a zachová kľúče.

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

LogicException

LogicException označuje nesprávne použitie objektu alebo porušenie invariantu programu.

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

MultipleIterator

Posúva viac iterátorov spoločne po riadkoch.

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

OutOfBoundsException

OutOfBoundsException dedí od RuntimeException a označuje neplatný index či kľúč.

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

RecursiveArrayIterator

Sprístupní úrovne vnoreného poľa cez hasChildren a getChildren.

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

RecursiveIteratorIterator

Prejde strom RecursiveIterator bez vlastnej rekurzívnej slučky.

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

ReflectionClass

Preskúma triedu a vytvorí inštancie. newInstanceArgs spustí konštruktor s argumentmi a isInstantiable vopred odhalí rozhrania aj abstraktné triedy.

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

ReflectionFunction

Preskúma a zavolá pomenovanú funkciu alebo Closure.

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

ReflectionMethod

Preskúma metódu a zavolá ju na kompatibilnom objekte.

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

ReflectionProperty

Číta deklaráciu vlastnosti a jej hodnotu na objekte.

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

RegexIterator

Vyberá prvky iterátora vzorom PCRE.

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

RuntimeException

RuntimeException opisuje zlyhanie zistené za behu, napríklad nečakaný koniec prúdu.

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

SplDoublyLinkedList

Spravuje zoznam s operáciami na oboch koncoch. push a pop pracujú na konci, unshift a shift na začiatku. bottom a top čítajú bez odobratia.

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

SplFixedArray

Rezervuje počet pozícií od indexu nula.

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

SplHeap

Rozšírte abstraktnú haldu a určte prioritu pomocou compare.

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

SplMaxHeap

Drží najväčšiu hodnotu podľa predvoleného porovnania na vrchole.

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

SplMinHeap

Pridelí najmenšej hodnote najvyššiu prioritu.

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

SplObjectStorage

Priradí údaje identitám objektov a drží silné odkazy na kľúče.

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