Loading...
Main Page → Exercises → PHP
Click a category below to view its available exercises.
PHP (205)
- Introductory programming practice with the PHP language.
-
basics (3)
-
expressions (11)
-
loops (3)
-
parameters and returns (39)
- parameter_mystery0
- parameter_mystery1
- parameter_mystery2
- parameter_mystery3
- parameter_mystery4
- parameter_mystery5
- parameter_mystery6
- parameter_mystery7
- parameter_mystery8
- parameter_mystery9
- parameter_mystery10
- parameter_mystery11
- parameter_mystery12
- average_of_3
- count_unique
- three_consecutive
- is_multiple
- inches_to_centimeters
- calculate_line
- circle_area
- compute_distance
- days_in_month
- box_of_stars
- print_triangle
- number_square
- get_first_digit
- get_last_digit
- factorial
- count_digits
- factor_count
- binary_to_decimal
- decimal_to_binary
- is_prime_number
- show_twos
- sum_of_digits
- sum_of_range
- print_pay
- coin_flip
- bmi
-
if else (2)
-
strings (21)
-
file input output (11)
-
collections (62)
-
basic arrays (45)
- array_mystery0
- array_mystery1
- array_mystery2
- array_mystery3
- array_mystery4
- array_mystery5
- array_mystery6
- array_mystery7
- array_mystery8
- index_of
- find_min
- find_max
- find_mean
- find_median
- find_range
- even_average
- get_percent_even
- count_in_range
- count_duplicates
- count_unique
- longest_string
- has_mirror_twice
- is_sorted
- longest_sorted_sequence
- contains
- cumulative
- square_nums
- add_stars
- stutter
- repeat
- n_copies
- stretch
- collapse_pairs
- mirror
- array_split
- remove_all
- remove_range
- remove_duplicates
- remove_consecutive_duplicates
- remove_bad_pairs
- remove_palindromes
- switch_pairs
- banish
- intersect
- even_before_odd
- is_keith_number
-
associative arrays (1)
-
stacks and queues (16)
- Using basic PHP arrays with stack and queue functions.
- collection_mystery0
- collection_mystery1
- collection_mystery2
- collection_mystery3
- collection_mystery4
- collection_mystery5
- collection_mystery6
- collection_mystery7
- collection_mystery8
- is_sorted
- stutter
- check_balance
- mirror
- removeMin
- reorder
- split_stack
- flip_half
-
-
recursion (52)
- recursion_mystery0
- recursion_mystery1
- recursion_mystery2
- recursion_mystery3
- recursion_mystery4
- recursion_mystery5
- recursion_mystery6
- recursion_mystery7
- recursion_mystery8
- recursion_mystery9
- recursion_mystery10
- recursion_mystery11
- recursion_mystery12
- recursion_mystery13
- recursion_mystery14
- recursion_mystery15
- recursion_mystery16
- recursion_mystery17
- recursion_mystery18
- index_of
- count_to_by
- sum_up_to
- factorial
- power
- repeat_string
- hash_string
- digit_sum
- print_range
- print_stars
- print_binary
- mirror_sequence
- zigzag
- even_digits
- is_palindrome
- is_subsequence
- merge_digit_pairs
- move_to_end
- nonmatching
- digits_sorted
- remove_odd_digits
- replace_all
- reverse_lines
- reverse
- sequence
- stutter_stack
- hanoi
- edit_distance
- match_count
- collapse_sequences
- sum_of_squares
- travel
- ways_to_climb
-
classes (1)
You must log in before you can search for exercises or top users.
Is there a problem? Contact us.