Search Header Logo

Najpopularniejsze funkcje wbudowane w PHP

Authored by Marcin Gerwatowski

Other

12th Grade

Najpopularniejsze funkcje wbudowane w PHP
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

42 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jaką funkcję w PHP używamy do formatowania ciągu znaków według określonego formatu?

a) `printf()`

b) `sprintf()`

c) `str_format()`

d) `string_format()`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP używana jest do otwierania pliku?

a) `open_file()`

b) `fopen()`

c) `file_open()`

d) `open()`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP zwraca długość ciągu znaków?

a) `strlen()`

b) `count()`

c) `substr()`

d) `strpos()`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jaką funkcję w PHP używamy do zamiany znaków w ciągu znaków?

a) `str_swap()`

b) `str_replace()`

c) `replace()`

d) `swap()`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP zwraca elementy tablicy w odwrotnej kolejności?

a) `array_reverse()`

b) `reverse_array()`

c) `flip_array()`

d) `array_flip()`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP sprawdza, czy plik istnieje?

a) `file_exists()`

b) `is_file()`

c) `file_check()`

d) `is_readable()`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Która funkcja w PHP służy do sprawdzania, czy wartość zmiennej jest liczbą całkowitą?

a) `is_numeric()`

b) `is_integer()`

c) `is_int()`

d) `is_number()`

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?