A curated collection of PHP programs and exercises for learning and reference. This repository features a modern web interface to browse and execute code directly in the browser.
Check out the interactive web version of this repository:
Below is an automatically updated list of all PHP programs available in this repository.
- 📄 Addition_program.php
- 📄 Constant.php
- 📄 Constants.php
- 📄 Data_Type.php
- 📄 Dot_Operator.php
- 📄 Even_Odd.php
- 📄 Factorial.php
- 📄 Fibonacci.php
- 📄 For_Loop_Table.php
- 📄 HelloWorld.php
- 📄 Increment-&-Decrement-Operators.php
- 📄 Numeric_array.php
- 📄 Operator.php
- 📄 Prime_Number.php
- 📄 Solar_time.php
- 📄 String.php
- 📄 Switch_Case.php
- 📄 age.php
- 📄 array.php
- 📄 as-array.php
- 📄 associate-array.php
- 📄 bitwise.php
- 📄 calculate_truth_table.php
- 📄 code.php
- 📄 code1.php
- 📄 control_statments.php
- 📄 factoral.php
- 📄 function.php
- 📄 if_else.php
- 📄 if_else_if_statments.php
- 📄 leapyear.php
- 📄 location.php
- 📄 multidimensional.php
- 📄 parameterized.php
- 📄 postion-characters-string.php
- 📄 rectangle.php
- 📄 reference.php
- 📄 spaceship_opratior.php
- 📄 str-upper-and-lower.php
- 📄 stringopraters.php
- 📄 substr.php
- 📄 truth_tables.php
- 📄 ucfirst.php
- Interactive File Viewer: Browse code files with syntax highlighting.
- Live Execution: Run PHP code directly in the browser via Piston API.
- Responsive Design: Works on Desktop, Tablet, and Mobile.
- Auto-Sync: This README stays up-to-date with repository contents automatically.
Feel free to fork this repository and submit pull requests to add new interesting PHP examples!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Made with ❤️ by Paras Gupta