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

is_array()

Rozpozná natívne pole PHP. Prázdny zoznam aj mapa s textovými kľúčmi dajú true.

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

is_bool()

Overí typ príznaku bez pretypovania.

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

is_callable()

Overí, či možno hodnotu volať v aktuálnom rozsahu.

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

is_countable()

Overí, či count prijme danú hodnotu.

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

is_float()

Rozpozná typ float bez číselného prevodu.

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

is_int()

Overí skutočný typ int pri indexe.

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

is_iterable()

Rozpozná polia a objekty Traversable pred odovzdaním parametru iterable.

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

is_null()

Testuje presnú hodnotu null a odlíši ju od nuly a prázdneho reťazca.

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

is_numeric()

Rozpozná čísla a číselné reťazce.

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

is_object()

Rozpozná každý objekt vrátane uzáveru a inštancie stdClass.

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

is_resource()

Overí, či identifikátor rozšírenia predstavuje otvorený prostriedok.

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

is_scalar()

Prijíma hodnoty bool, int, float a string vrátane false a prázdneho reťazca. null, polia a objekty neprejdú.

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

is_string()

Rozpozná reťazec, aj keď je prázdny, binárny alebo obsahuje iba číslice.

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

iterator_apply()

Volá funkciu pri prechode objektom Traversable.

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

iterator_count()

Spočíta prvky prechodu a môže vyčerpať generátor.

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

iterator_to_array()

Uloží prechod do poľa. Predvolený režim zachová kľúče a neskoršia duplicita prepíše skoršiu hodnotu.

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

join()

Tento alias implode vloží oddeľovač len medzi postupné hodnoty.

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

json_decode()

Načíta JSON v UTF-8 ako hodnoty PHP.

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

json_encode()

Serializuje hodnotu PHP ako JSON v UTF-8.

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

json_validate()

Od PHP 8.3 overí syntax JSON bez vytvorenia hodnoty PHP.

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

key()

Číta aktuálny kľúč bez posunu ukazovateľa.

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

krsort()

Zoradí mapu zostupne podľa kľúčov so zachovaním priradených hodnôt.

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

ksort()

Zoradí kľúče vzostupne pred prechodom mapou.

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

lcfirst()

Zmení prvý bajt na malé písmeno, ak je veľkým písmenom ASCII, a zvyšok zachová.

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