-
Notifications
You must be signed in to change notification settings - Fork 1
List of PHP Kata to Update
Diego Mayer edited this page Sep 18, 2023
·
54 revisions
PHP 8.0 with PHPUnit 9.5.2 was added. The kata on this page needs to be updated manually. Any help is appreciated!
- Files are no longer concatenated, but it should work very similarly as before because solution and preloaded files are autoloaded
- The name of the test class now required to end with
Test
- Solution and Preloaded file should have
<?php
- Runner prepends this if missing for backwards compatibility, but any new code should include it
- Test file should have
<?php use PHPUnit\Framework\TestCase;
- Runner prepends this if
<?php
is missing for backwards compatibility, but any new code should include it
- Runner prepends this if
- PHPUnit is updated to 9.5.2 so there are some breaking changes
- 'Magic' recursion call depth number
- Address Book by State
- Basic variable assignment
- Binary multiple of 3
- Brainfuck Translator
- Brick pyramid.
- Buddy Pairs
- Build a Directory
- Burrows-Wheeler-Transformation
- Buying a car
- Car Park Escape
- Car Wars
- Cartesian neighbors
- Catalog
- Challenge Fun #14: Target Game
- Champernowne's Championship
- Check and Mate?
- Ciphers #1 - The 01 Cipher
- Color Choice
- Connect 4
- Convert string to camel case
- Count up the points for the 7 Wonders board game! Easy version
- Counting Duplicates
- Creating a custom PHP stream wrapper
- Debug the functions EASY
- Divide numbers as strings
- Domain name validator
- Don't rely on luck.
- Draw a Circle.
- Drawing a cube
- Error correction #1 - Hamming Code
- Esolang Interpreters #1 - Introduction to Esolangs and My First Interpreter (MiniStringFuck)
- Esolang: InfiniTick
- Evaluate mathematical expression
- Experimenting with a sequence of complex numbers
- extract file name
- Factorial decomposition
- Family Gift Exchange / Names Out of a Hat
- Fibo akin
- Filter valid romans
- Financing Plan on Planet XY140Z-n
- Find all pairs
- Find The Parity Outlier
- Find the smallest integer in the array
- Find twins
- Fluent Calculator
- Follow that Spy
- Functions of Integers on Cartesian Plane
- Generate keywords
- Get angle between hour and minute hands
- Get Password from grid
- Get the Middle Character
- Going to the cinema
- Going to zero or to infinity?
- Good words
- Guess the list pattern #2
- Hero's root
- Hofstadter Q
- How many dots are covered
- How many e-mails we sent today?
- How many urinals are free?
- How Much?
- Human readable duration format
- Hungry Hippos
- Implement the (Unnormalized) Cardinal Sine
- IP Validation
- IPv4 Network and Broadcast Addresses
- Is my friend cheating?
- Is a point inside an random area...
- Is there a vowel in there?
- Is there an arrow missing ? (Relations - Part1: Reflexivity)
- Jaden Casing Strings
- John and Ann sign up for Codewars
- Largest Palindromic Product
- League Player Rank
- Linked Lists - Get Nth Node
- Linked Lists - Insert Nth Node
- List of all Rationals
- Looking for a benefactor
- MAC Address : Regexp
- Make sets
- Mirrored Exponential Chunks
- Mutual Recursion
- Mystery Class
- Object-Oriented PHP #1 - Classes, Public Properties and Methods
- Object-Oriented PHP #10 - Objects on the Fly [Advanced]
- Object-Oriented PHP #6 - Visibility
- Object-Oriented PHP #9 - Abstract Classes [Advanced]
- One Line Task: Largest Rectangle
- Ordered Count of Characters
- Over The Road
- Pattern Generator
- Pattern Generator (mirrored)
- People’s Travel Sorter (simplified)
- Perimeter of squares in a rectangle
- PHP Functions - Anonymous Functions (aka Closures)
- PHP Functions - Return Type Declarations
- PHP Functions - Type Declarations
- PHP Immutable
- PHP in Action #5 - PHPMailer Intro
- Pigs in a Pen
- Playing on a chessboard
- Points in the circle
- Pokemon Damage Calculator
- Pokerhand, straight or not?
- Pong! [Basics]
- Positions Average
- Principal Diagonal | VS | Secondary Diagonal
- Product of two squares
- Pull your words together, man!
- Rectangle into Squares
- Reflection in PHP #1 - Introduction
- Reflection in PHP #3 - Using Reflection on Classes
- Reflection in PHP #4 - Puzzle Challenge [Assessment]
- Regular expression for binary numbers divisible by 5
- Remove exclamation marks
- Removing Elements
- Reversed Strings
- RoboScript #4 - RS3 Patterns to the Rescue
- Roman Numerals Decoder
- Round To Nearest
- Same Array?
- Screen Locking Patterns
- Sectional Array Sort
- Selective memory
- Series of integers from m to n
- Shortest Distance to a Character
- Simple assembler interpreter
- Simple consecutive pairs
- Simple Fun #151: Rocks
- Simple Fun #87: Shuffled Array
- Simplifying multilinear polynomials
- Smallest possible sum
- Snakes and Ladders
- Sort by Last Char
- Square Pi's
- String Scramble
- Substituting Variables Into Strings: Padded Numbers
- Sum Arrays
- Sum Mixed Array
- Sum of Minimums!
- Sum of powers of 2
- Text align justify
- Texting with an old-school mobile phone
- The Skiponacci Sequence
- The Walker
- Tortoise racing
- Total amount of points
- Uglify Word
- URL building
- Wave Sorting
- We are Family
- Weight for weight
- Which x for that sum?
After changing assertEquals with assertSame to avoid this problem some katas failed the automatic change and require manual editing:
- A Rule of Divisibility by 7
- Area of an arrow
- Binary Genetic Algorithms
- Brainfuck Translator
- Buying a car
- Calculate mean and concatenate string
- Closest and Smallest
- Convert a String to a Number!
- Creating a custom PHP stream wrapper
- Disease Spread
- Driving School Series #2
- Easy Cyclist's Training
- Easy Line
- Euclidean distance in n dimensions
- Fibonacci, Tribonacci and friends
- Financing Plan on Planet XY140Z-n
- Find the Middle of the Product
- Find the area of the rectangle!
- FizzBuzz++
- Fun with lists: filter
- Fun with lists: map
- Functions of Integers on Cartesian Plane
- Heron's formula
- How good are you really?
- How many dots are covered
- League Player Rank
- Looking for a benefactor
- MAC Address : Regexp
- Molecule to atoms
- Mutual Recursion
- One Line Task: Largest Rectangle
- Ordered Count of Characters
- Parse a linked list from a string
- Pascal's Triangle
- Pattern Generator (mirrored)
- Program a Calculator #2 - 3D Vectors
- Quarter of the year
- Regex Tic Tac Toe Win Checker
- Regexp Basics - is it IPv4 address?
- Return the closest number multiple of 10
- Return the first M multiples of N
- Reverse polish notation calculator
- Screen Locking Patterns
- Send in the Clones
- Simple Fun #181: Rounding
- Simple Fun #74: Growing Plant
- Simple Fun #87: Shuffled Array
- Square Pi's
- Sum and Length
- Sum of Array Averages
- Sum of Intervals
- Sum of positive
- The Walker
- Tiny Three-Pass Compiler
- Tortoise racing
- Wave Sorting
- We are Family
- simple calculator
- Agda Kata that require rank adjustment
- List of Possible Duplicate Kata
- List of kata that are candidates to retirement
- List of Kata with font Tag in Description (possibly broken)
- Potentially Plagiarized Kata
- Tags and topics to assign to kata
- List of Agda Kata to Update
- List of C Kata to Update
- List of C++ Kata to Update
- List of COBOL Kata to Update
- List of Coq Kata to Update
- List of Crystal Kata to Update
- List of C# Kata to Update
- List of Dart Kata to Update
- List of Elixir Kata to Update
- List of Go Kata to Update
- List of Haskell Kata to Update
- List of Java Kata to Update
- List of JavaScript Kata to Update
- List of Kotlin Kata to Update
- List of Lean Kata to Update
- List of Nim Kata to Update
- List of PHP Kata to Update
- List of Python Kata to Update
- List of Racket Kata to Update
- List of Ruby Kata to Update
- List of Rust Kata to Update
- List of Scala Kata to Update
- List of Solidity Kata to Update
- List of Swift Kata to Update
- List of TypeScript Kata to Update