w3resource
Java Programming Exercises

PHP Exercises, Practice, Solution

What is PHP?

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

The best way we learn anything is by practice and exercise questions. We have started this section for those (beginner to intermediate) who are familiar with PHP.

Hope, these exercises help you to improve your PHP coding skills. Currently, following sections are available, we are working hard to add more exercises. Happy Coding!

Note: It's fine if you are playing around with PHP codes with the help of an online PHP editor, to enjoy a full-fledged PHP environment (since online editors have several caveats, e.g. embedding PHP within HTML) up and running on your own machine is much better of an option to learn PHP. Please read our installing PHP on Windows and Linux if you are unfamiliar to PHP installation.

List of PHP Exercises :

PHP Challenges :

Note : You may accomplish the same task (solution of the exercises) in various ways, therefore the ways described here are not the only ways to do stuff. Rather, it would be great, if this helps you anyway to choose your own methods.

Popularity of Programming Language
Worldwide, June 2019 compared to a year ago:

Rank Change Language Share Trend
1 Python 28.08 % +4.7 %
2 Java 20.51 % -1.8 %
3 Javascript 8.29 % -0.2 %
4 up arrow C# 7.41% -0.5 %
5 down arrow PHP 6.96 % -1.2 %
6 C/C++ 5.76 % -0.4 %
7 R 4.15 % -0.0 %
8 Objective-C 2.82 % -0.6 %
9 Swift 2.36 % -0.4 %
10 Matlab 1.95 % -0.3 %
11 up arrow TypeScript 1.69 % +0.2 %
12 down arrow Ruby 1.42 % -0.3 %
13 up arrow Kotlin 1.4 % +0.5 %
14 down arrow VBA 1.33% -0.1 %
15 up arrow Go 1.19 % +0.3 %
16 down arrow Scala 1.13 % -0.1 %
17 down arrow Visual Basic 1.09 % -0.1 %
18 Perl 0.59 % -0.2 %
19 up arrow Rust 0.56 % +0.2 %
20 down arrow Lua 0.37 % -0.0 %
21 Haskell 0.32 % +0.0 %
22 up arrow Julia 0.32 % +0.1 %
23 down arrow Delphi 0.31 % +0.0 %

Source : http://pypl.github.io/PYPL.html

TIOBE Index for June 2019

Jun 2019 Jun 2018 Change Programming Language Ratings Change
1 1 Java 15.004% -0.36%
2 2 C 13.300% -1.64%
3 4 up arrow Python 8.530% +2.77%
4 3 down arrow C++ 7.384% -0.95%
5 6 up arrow Visual Basic .NET 4.624% +0.86%
6 5 down arrow C# 4.483% +0.17%
7 8 up arrow JavaScript 2.716% +0.22%
8 7 down arrow PHP 2.567% -0.31%
9 9 SQL 2.224% -0.12%
10 16 up arrow Assembly language 1.479% +0.56%
11 15 up arrow Swift 1.419% +0.27%
12 12 Objective-C 1.391% +0.21%
13 11 down arrow Ruby 1.388% +0.13%
14 60 up arrow Groovy 1.300% +1.11%
15 18 up arrow Go 1.257% +0.38%
16 14 down arrow Perl 1.173% +0.03%
17 19 up arrow Delphi/Object Pascal 1.129% +0.25%
18 17 down arrow MATLAB 1.077% +0.18%
19 13 down arrow Visual Basic 1.069% -0.08%
20 20 PL/SQL 0.929% +0.08%

Source : https://www.tiobe.com/tiobe-index/

List of Exercises with Solutions :

[ Want to contribute to PHP exercises? Send your code (attached with a .zip file) to us at w3resource[at]yahoo[dot]com. Please avoid copyrighted materials.]

List of Exercises with Solutions :



New Content: Composer: Dependency manager for PHP, R Programming


bedava porno