A simple implementation of the Binary Search algorithm in PHP, designed to help you visualize and understand how binary search works in action.
- Input an array of sorted numbers
- Enter a target value to search
- View each step as the algorithm narrows down the search
- Built with pure PHP and vanilla HTML/CSS
- PHP
- HTML/CSS
- Binary Search logic (Divide & Conquer)
- PHP form handling
- Input validation
- Conditional rendering in HTML with PHP
- Clone the repo or download the files
- Serve via local server (XAMPP, MAMP, or PHP built-in server)
- Access the form in your browser
- Try searching for numbers in your array