Tech Articles

PHP Learning Resources [Compilation List 2018]

PHP, which stands for PHP Hypertext Preprocessor, is a server-side embedded scripting language. In non-technical terms: a PHP processor is run on the server (Windows, or a flavor of UNIX). When a page is requested that contains PHP, the processor translates and executes all the commands in the page, and then outputs the result to the browser as regular […]

Tutorials

[PHP] IF-ELSE Statement – A new way around

Writing PHP applications is pretty easy. Most people grasp the syntax rather quickly and will within short time be able to produce a script that works using tutorials, references, books, and blogs like the one we have here at Yeahhub.com. The problem is that most people forget one of the most important aspects that one must consider […]

Tech Articles

Top 18 PHP Code Analysis Resources – 2017 Compilation List

As you all knows PHP is one of the most popular server side language and is widely used open source general purpose scripting language that is specially suited for web development and can easily be embedded into HTML. Today we’ll discuss about the top 19 Code analysis libraries which can be helpful for analysis, parsing […]

Tutorials

Writing your first program for various languages – Tutorial

This article will get you a good spark about writing the programs in various languages like Ruby, PHP, Python, Perl, Bash, C, C++ and Java. All Credits goes to Mr. Chetan Soni – A Cyber Security Expert from India. 1. Ruby – Ruby is totally a dynamic, reflective and object oriented language and was developed […]

Tutorials

Complete PHP Tutorial – Chapter 8

PHP Functions always plays an important role in programming while developing an application/site in PHP language. User Defined Functions A function is a block of code that needs to be used multiple times throughout your code. They aren’t executed upon loading of a script but instead when they are called upon. A user defined function […]

Tutorials

Complete PHP Tutorial – Chapter 7

Here you’ll learn about PHP Control Structures like IF/Else Loop, While Loop, Switch Loop, For/Foreach Loop etc If Else Statements Conditional statements perform different things for different states. The if else statement runs a piece of code if a condition is true and other code if the statement is false. The if can also be […]

Tutorials

Complete PHP Tutorial – Chapter 6

In this tutorial, we’ll cover Arrays and its types which are Numeric Arrays, Multi-Dimensional Arrays and Associative Arrays. Numeric Arrays An array is a special type of variable that is capable of storing multiple values. Numeric arrays give a numeric index to all of the values within the array. The first index of an array […]

Tutorials

Complete PHP Tutorial – Chapter 5

Here we’ll cover PHP Operators that are of various types like Arithmetic Operators, Assignment Operators, Logical Operators and Comparison Operators Arithmetic Operators Arithmetic operators work with numeric values to perform common arithmetic operations. Addition | $a + $b Subtraction | $a – $b Multiplication | $a * $b Division | $a / $b Modulus | […]

Tutorials

Complete PHP Tutorial – Chapter 4

In this chapter, we’ll cover PHP Data types which are of many types as listed below – Data Types A data type is the type of information stored within a variable. PHP has 8 main data types listed here: String Integer Float Boolean Array Object NULL Resource Let’s start with an integer. These are whole […]

Tutorials

Complete PHP Tutorial – Chapter 3

In this tutorial, you’ll learn about PHP Variables, Constants and Parameters. Regular Variables Variables are containers which we use for storing information. PHP variables work a bit differently to other languages so I suggest you pay close attention here. A variable starts with a dollar sign ($) which is then followed by the name of […]

Tutorials

Complete PHP Tutorial – Chapter 2

In previous chapter, you’ve learned about basics of PHP, Installation and XAMPP and in this tutorial we’ll cover PHP Tags & Comments. PHP Tags – All scripts start and end with these tags: PHP Code: <?php //Your code goes here. ?> The PHP tags can be placed anywhere in your document. Here is an example […]

Tutorials

Complete PHP Tutorial – Chapter 1

PHP: Hypertext Preprocessor (PHP) is a free, open source, scripting language that is made primarily for the creation of dynamic websites. It is compatible with almost all modern servers and PHP scripts are always executed on the server. We would suggest a simple understanding of HTML which you can get a short taste of in […]