Kata Library: PHP Practice
Sign Up
Time to claim your honor
Training
Practice
Complete challenging
Kata
to earn honor and ranks. Re-train to hone technique
Freestyle Sparring
Take turns remixing and refactoring others code through
Kumite
Community
Leaderboards
Achieve honor and move up the global leaderboards
Chat
Join our
Discord
server and chat with your fellow code warriors
Discussions
View our
Github Discussions
board to discuss general Codewars topics
About
Docs
Learn about all of the different aspects of Codewars
Blog
Read the latest news from Codewars and the community
Log In
Sign Up
Library
Collections
Newest
Oldest
Popularity
Positive Feedback
Most Completed
Least Completed
Hardest
Easiest
Name
Relevance
Low Satisfaction
All
My Languages
Agda (Beta)
BF (Beta)
C
CFML (Beta)
Clojure
COBOL (Beta)
CoffeeScript
CommonLisp (Beta)
Coq
C++
Crystal
C#
D (Beta)
Dart
Elixir
Elm (Beta)
Erlang (Beta)
Factor (Beta)
Forth (Beta)
Fortran (Beta)
F#
Go
Groovy
Haskell
Haxe (Beta)
Idris (Beta)
Java
JavaScript
Julia (Beta)
Kotlin
λ Calculus (Beta)
Lean
Lua
NASM
Nim (Beta)
Objective-C (Beta)
OCaml (Beta)
Pascal (Beta)
Perl (Beta)
PHP
PowerShell (Beta)
Prolog (Beta)
PureScript (Beta)
Python
R (Beta)
Racket
Raku (Beta)
Reason (Beta)
RISC-V (Beta)
Ruby
Rust
Scala
Shell
Solidity (Beta)
SQL
Swift
TypeScript
VB (Beta)
Approved & Beta
Approved
Beta
All
Kata I have not trained on
Kata I have not completed
Kata I have completed
8 kyu
easiest
7 kyu
6 kyu
5 kyu
4 kyu
3 kyu
2 kyu
1 kyu
hardest
ASCII Art
1
Algorithms
72
Arrays
72
Ciphers
1
Combinatorics
1
Cryptography
2
Data Structures
13
Functional Programming
8
Fundamentals
22
Games
3
Genetic Algorithms
2
Lists
5
Logic
7
Mathematics
11
Matrix
2
Object-oriented Programming
1
Parsing
1
Performance
3
Permutations
1
Puzzles
1
Regular Expressions
6
Security
1
Sorting
4
Statistics
1
Strings
17
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
72 Kata Found
5 kyu
Mean Square Error
22,194
kylehill
Arrays
Mathematics
Algorithms
8 kyu
Count the Monkeys!
72,690
PG1
1 Issue Reported
Arrays
Fundamentals
Lists
Algorithms
7 kyu
Coding Meetup #3 - Higher-Order Functions Series - Is Ruby coming?
10,965
PiotrBerebecki
Data Structures
Fundamentals
Algorithms
Strings
Regular Expressions
Arrays
Functional Programming
6 kyu
Find the unique number
152,908
isqua
4 Issues Reported
Fundamentals
Algorithms
Arrays
Performance
7 kyu
The Poet And The Pendulum
4,802
MrZizoScream
4 Issues Reported
Fundamentals
Arrays
Algorithms
Performance
5 kyu
Pick peaks
29,796
frenetic_be
2 Issues Reported
Arrays
Algorithms
7 kyu
Sectional Array Sort
1,562
kodejuice
1 Issue Reported
Arrays
Sorting
Data Structures
Algorithms
6 kyu
Get Password from grid
771
kodejuice
Logic
Arrays
Algorithms
Data Structures
4 kyu
Sum by Factors
20,022
g964
3 Issues Reported
Arrays
Algorithms
Mathematics
7 kyu
Parts of a list
17,855
g964
1 Issue Reported
Arrays
Lists
Data Structures
Algorithms
7 kyu
Determine if the poker hand is flush
6,248
CodingWarrior
1 Issue Reported
Arrays
Algorithms
Logic
Strings
Games
7 kyu
Lost number in number sequence
10,579
evgv
1 Issue Reported
Arrays
Algorithms
6 kyu
Reducing by rules to get the result
1,460
user5036852
Arrays
Logic
Algorithms
5 kyu
Josephus Survivor
16,791
GiacomoSorbi
1 Issue Reported
Mathematics
Combinatorics
Algorithms
Lists
Arrays
7 kyu
Make a square box!
2,098
user2514386
Strings
Arrays
ASCII Art
Algorithms
7 kyu
Coding Meetup #4 - Higher-Order Functions Series - Find the first Python developer
10,017
PiotrBerebecki
Functional Programming
Data Structures
Arrays
Fundamentals
Algorithms
Strings
Regular Expressions
5 kyu
Affordable Vacation
180
OsipovKonstantin
Algorithms
Arrays
7 kyu
Round To Nearest
322
Insight
2 Issues Reported
Arrays
Fundamentals
Algorithms
Beta
Check and Mate?
482
Zirgion
2 Issues Reported
Status:
Waiting for issues to be resolved
Estimated Rank:
2 kyu
Logic
Arrays
Data Structures
Games
Algorithms
6 kyu
Genetic Algorithm Series - #5 Roulette wheel selection
582
brunolm
2 Issues Reported
Algorithms
Genetic Algorithms
Arrays
6 kyu
Socialist distribution
584
GiacomoSorbi
Arrays
Lists
Statistics
Algorithms
4 kyu
Organize a Round-robin tournament
871
rubs33
Arrays
Logic
Algorithms
7 kyu
Two Oldest Ages
35,104
jhoffner
4 Issues Reported
Arrays
Algorithms
7 kyu
Genetic Algorithm Series - #4 Get population and fitnesses
1,241
brunolm
1 Issue Reported
Algorithms
Genetic Algorithms
Arrays
6 kyu
Wave Sorting
1,874
kodejuice
4 Issues Reported
Algorithms
Arrays
Logic
Sorting
6 kyu
Pascal's Triangle
11,676
boatmeme
Arrays
Mathematics
Algorithms
6 kyu
Matrix Addition
13,983
xDranik
3 Issues Reported
Matrix
Arrays
Algorithms
6 kyu
Length of missing array
16,868
user5036852
1 Issue Reported
Arrays
Algorithms
3 kyu
Battleship field validator
15,474
romanzes
10 Issues Reported
Games
Arrays
Algorithms
8 kyu
Find the Difference in Age between Oldest and Youngest Family Members
20,737
KaraM
Algorithms
Arrays
Loading...
Confirm
Collect:
undefined
Loading collection data...