There are 8 types of Data in PHP programming language. Here is the list of all Data Types: #####Scalar Type 1. Boolean 2. Integar 3. Float 4. String Compound Type 5. Array 6. Object Special Type 7. Resource 8. Null Now please see the following code and run yourself on your computer to see the result and I hope you will easily understand about what is PHP Data Type and the usage of this. <?php /** * @Author: G. M. …
Tag: PHP
JetBrains PhpStorm is one of the best development IDE for PHP developers. However, according to PHP community it’s license price is costly specially who want to learn. It’s one of the modern IDE till now for PHP. Today I am going to show how to run PhpStorm from terminal in Linux machine (Ubuntu, CentOS and other platform). Also I will describe about to create PhpStorm launcher in Ubuntu and other Linux OS. From the command line even you can run …
I receive very frequent request from clients to use custom fonts they chose for their expected PDF. And most of them choose fonts from Google Web Fonts because of their extended library. I also love it for all of our front-end projects. So I ended up facing with the issue to use Google Web Fonts for wkhtmltopdf. After searching a lot I have found the solutions by myself and I realized that I should write about it all the pieces …
Recently I was just curious about what’s coming with PHP’s latest release. I am using 5.3.10 in my UBUNTU PC since long time. Now I need to update my PHP 5.3.10 to 5.4.11 (according to php.net it is the latest stable release of PHP). I am using UBUNTU 12.04 LTS. So I am now writing this post what was tested on this OS. I was just installed Apache2 and PHP5 on my PC. Now I am just writing about how …
Now let’s assume that you haven’t installed xDebug yet! Now we have to install xDebug. Now to do that first we have to install PHP PEAR. To install PEAR let’s type the following command. Now if it says that you have already the latest PHP Pear. Then ready to move forward. Now to install xDebug you have to write down the following command. After successfully installing xDebug. You have to add the following code in your php.ini file. After writing …