w3resource
ankara escort
malatya escort
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, Nov 2018 compared to a year ago:

Rank Change Language Share Trend
1 up arrow Python 25.13 % +5.4%
2 down arrow Java 21.98 % -0.8 %
3 up arrow Javascript 8.35% +0.0 %
4 up arrow C# 7.5 % -0.5 %
5 down arrow PHP 7.36 % -1.4 %
6 C/C++ 6.35 % -0.4 %
7 R 4.02 % -0.2 %
8 Objective-C 3.23% -0.9 %
9 Swift 2.69 % -0.8%
10 Matlab 2.04 % -0.3 %
11 up arrow TypeScript 1.6 % +0.2 %
12 down arrow Ruby 1.58 % -0.4 %
13 down arrow VBA 1.44% -0.1 %
14 Scala 1.22% -0.1 %
15 Visual Basic 1.16 % -0.2 %
16 up arrow Kotlin 1.1 % +0.2 %
17 up arrow Go 0.96 % +0.3 %
18 down arrow Perl 0.65 % -0.2 %
19 up arrow lua 0.39 % +0.0 %
20 down arrow Rust 0.39 % +0.0 %
21 up arrow Haskell 0.34 % +0.0 %
22 up arrow Julia 0.26% +0.1 %
23 down arrow Delphi 0.25% -0.1 %

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

TIOBE Index for November 2018

Nov 2018 Nov 2017 Change Programming Language Ratings Change
1 1 Java 16.746% +3.51%
2 2 C 14.396% +5.10%
3 3 C++ 8.282% +2.94%
4 4 Python 7.683% +3.20%
5 7 up arrow Visual Basic .NET 6.490% +3.58%
6 5 down arrow C# 3.952% +0.94%
7 6 down arrow JavaScript 2.655% -0.32%
8 8 PHP 2.376% +0.48
9 - up arrow SQL 1.844% +1.84%
10 14 up arrow Go 1.495% -0.07%
11 19 up arrow Objective-C 1.476% +0.06%
12 20 up arrow Swift 1.455% +0.07%
13 9 down arrow Delphi/Object Pascal 1.423% -0.32%
14 11 down arrow R 1.407% -0.20%
15 10 down arrow Assembly language 1.108% -0.61%
16 13 down arrow Ruby 1.091% -0.50%
17 12 down arrow MATLAB 1.030% -0.57%
18 15 down arrow Perl 1.001% -0.56%
19 18 down arrow PL/SQL 1.000% -0.45%
20 17 down arrow Visual Basic 0.854% -0.63%

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 Exercises:R Programming