PHP7 Return type declarations

PHP7 Improved performance up to twice as fast as PHP 5.6 ,Consistent 64-bit support,Combined comparison Operator (),scalar type declarations any many others new features.Return type declaration a great features what i think.You can specify a return type for a function.You can define both scalar type and return type declaration in a same function.Let see an 

Continue Reading…

PHP7 Scalar type declarations

PHP7 Improved performance up to twice as fast as PHP 5.6 ,Consistent 64-bit support,Combined comparison Operator (),scalar type declarations any many others new features.Here we know how to use scalar type declaration in PHP7.There are two flavor for scalar type declaration such as coercive (default) and strict. strings integers floating-point booleans Those four types of 

Continue Reading…

PHP7 Spaceship Operator

PHP7 Improved performance up to twice as fast as PHP 5.6 ,Consistent 64-bit support,Combined comparison Operator () any many others new features.In here we know how to use php7 spaceship operator().Let see how to use it. PHP7 Spaceship Operator() This operator will offer combined comparison in that it will : Return 0 if values on 

Continue Reading…

PHP showing as text apache

After install php and apache in a machine,sometimes we see that php shows as plain text in web browser.Suppose we echo as text like “echo ‘hello world’;”.When we access this file on web browser we see that it’s not print hello world,it shows the full line as a plain text.It happens for a php module 

Continue Reading…

install mcrypt

mcrypt is an php extension.If you want to run the most popular and latest framework laravel version 5.0,you need to install and enable it in your machine.In this blog i wrote the step how to install mcrypt and enable it in a linux machine.Just run some commands on your terminal and it will install and 

Continue Reading…

Propel save bulk data as array

Propel is an very useful open source ORM.There is lots of feature in propel orm.To know more details about propel go to office website.In propel we can save data as set method after creating object.But if we have an array and if we want to save it without set method,how can we save this.Lets see 

Continue Reading…

Include phmyadmin in apache

When we install apache on a machine using “sudo apt-get install apache2” we need to include phpmyadmin on apache.Suppose you access localhost using http://localhost,now you wanna get phpmyadin using http://localhost/phpmyadmin.For that you need to include phpmyadmin on apache configuration file.Below here i there is some tiny instruction.If you run those instruction then you get phpmyadmin 

Continue Reading…

Memcache install

Memcache a distributed memory object caching system.It is very useful caching system which can be use different types of programming language like php,python.Memcached is free and open-source software, licensed under the Revised BSD license.Memcached runs on Unix-like operating systems (at least Linux and OS X) and on Microsoft Windows. It depends on the libevent library.In 

Continue Reading…